graylog2-server
graylog2-server copied to clipboard
Fix client-side routing in `Button` component.
Note: This should be backported to 6.0
.
Description
This PR is fixing the client-side routing for button links by using the Link
-component instead of an a
-element when the href
prop is specified.
We implemented the same change for the MenuItem
component in https://github.com/Graylog2/graylog2-server/pull/19225. Please have a look at this PR for more information.