mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix cluster icon click in sidebar redirecting to wrong route
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
3988229a6c
commit
51116499f6
@ -193,7 +193,7 @@ export class Sidebar extends React.Component<Props> {
|
|||||||
source={metadata.source}
|
source={metadata.source}
|
||||||
src={spec.icon?.src}
|
src={spec.icon?.src}
|
||||||
className="mr-5"
|
className="mr-5"
|
||||||
onClick={() => navigate(routes.clusterURL())}
|
onClick={() => navigate("/")}
|
||||||
/>
|
/>
|
||||||
<div className={styles.clusterName}>
|
<div className={styles.clusterName}>
|
||||||
{metadata.name}
|
{metadata.name}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user