1
0
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 (#4037)

This commit is contained in:
Sebastian Malton 2021-10-14 08:50:24 -04:00 committed by GitHub
parent 75ddf48914
commit 53c9d35832
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,7 +193,7 @@ export class Sidebar extends React.Component<Props> {
source={metadata.source}
src={spec.icon?.src}
className="mr-5"
onClick={() => navigate(routes.clusterURL())}
onClick={() => navigate("/")}
/>
<div className={styles.clusterName}>
{metadata.name}