-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fix(ui/dashboards): prevent default on anchor tag #14434
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet. I think there's other places we have this same problem (for example, opening the edit bucket overlay).
I think that everywhere we are using an anchor tag, we should be using the Link
component from react-router instead.
@chnn yeah I noticed the resource card from |
@OfTheDelmer awesome. I do think we're using the
I tried real quick adding Also found a duplicate |
@chnn didn't realize the |
@chnn I experienced something similar this morning when trying to test the initial prevent default fix, but now find that running |
Oo weird, I think @121watts was experiencing something similar yesterday. Does the behavior exist when using the |
Describe your proposed changes here.
Fixes an issue where clicking on a dashboard name from the dashboards index caused an incorrect redirect due to default behavior on the anchor tag.