mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix cluster disconnect navigation
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
This commit is contained in:
parent
f4e017d488
commit
faad10c8ca
@ -13,9 +13,9 @@ const navigate = (route: string) =>
|
||||
|
||||
const deactivateCluster = (clusterId: string) => {
|
||||
if (clusterStore.isActive(clusterId)) {
|
||||
navigate(landingURL());
|
||||
clusterStore.setActive(null);
|
||||
}
|
||||
navigate(landingURL());
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user