mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
React UI: Make link to classic UI work (#6320)
It being a Reach Router <Link> caused the Reach router to not actually leave the React app, even though the destination path was not a path handled by the Reach Router. Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
8ee3b8c848
commit
2a6df53416
|
@ -67,9 +67,7 @@ const Navigation: FC<PathPrefixProps> = ({ pathPrefix }) => {
|
|||
<NavLink href="https://prometheus.io/docs/prometheus/latest/getting_started/">Help</NavLink>
|
||||
</NavItem>
|
||||
<NavItem>
|
||||
<NavLink tag={Link} to={pathPrefix}>
|
||||
Classic UI
|
||||
</NavLink>
|
||||
<NavLink href={`${pathPrefix}/`}>Classic UI</NavLink>
|
||||
</NavItem>
|
||||
</Nav>
|
||||
</Collapse>
|
||||
|
|
Loading…
Reference in a new issue