Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Links under "Your links" in the Statistics page are not clickable/do not redirect #10334

Open
1 task done
MalekAchich opened this issue Apr 12, 2024 · 1 comment
Open
1 task done
Labels
🛠 goal: fix undefined 🚦 status: awaiting triage Waiting for maintainers to verify (please do not start work on this yet)

Comments

@MalekAchich
Copy link

Has this bug been raised before?

  • I have checked "open" AND "closed" issues and this is not a duplicate

Where did you find this bug?

Production

Version of BioDrop (for example "v1.2.3")

v2.100.2

Description

When on the profile statistics page, the links under "Your links" are not clickable and do not redirect to that URL.

Steps to Reproduce

Steps to Reproduce:

  1. Go to your profile page.
  2. Click on Statistics to go there.
  3. Scroll down to the very end of the statistics until you see your links under "Your links".
  4. URLs under "Your links" are not clickable.

Screenshots

2024-04-12.21-05-45.mp4

Do you want to work on this issue?

Yes

If "yes" to above, please explain how you would technically implement this

under pages\account\statistics\index.js, inside:

<tbody className="divide-y divide-primary-low dark:divide-primary-medium bg-white dark:bg-primary-high"> {data.links && data.links.individual.map((link) => ( <tr key={link._id}> <td className="md:whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-primary-high dark:text-primary-low sm:pl-6 text-ellipsis overflow-hidden"> {session && session.accountType === "premium" && ( <Link href={/account/statistics/link/${link._id}}> {link.url} </Link> )} {session && session.accountType === "free" && ( <>{link.url}</> )} </td> <td className="whitespace-nowrap px-3 py-4 text-sm text-primary-medium dark:text-primary-low"> {abbreviateNumber(link.clicks)} </td> </tr> ))} </tbody>

  • Replace the Link component with an a tag using href attribute.
@MalekAchich MalekAchich added 🚦 status: awaiting triage Waiting for maintainers to verify (please do not start work on this yet) 🛠 goal: fix undefined labels Apr 12, 2024
Copy link
Contributor

To reduce notifications, issues are locked until they are 🏁 status: ready for dev You can asked for this issue to be assigned (if not already assigned) and to be assigned. You can learn more in our contributing guide https://github.com/EddieHubCommunity/BioDrop/blob/main/CONTRIBUTING.md

@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🛠 goal: fix undefined 🚦 status: awaiting triage Waiting for maintainers to verify (please do not start work on this yet)
Projects
None yet
Development

No branches or pull requests

1 participant