mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
add continuation after extension install, add notification of install
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
0a44260cd5
commit
b6a17eb1be
8 files changed
+97
-46
No files matched your search
@@ -337,7 +337,14 @@ export class ClusterStore extends BaseStore<ClusterStoreModel> {
|
||||
}
|
||||
});
|
||||
|
||||
this.activeCluster = newClusters.has(activeCluster) ? activeCluster : null;
|
||||
const curActiveCluster = newClusters.get(activeCluster);
|
||||
|
||||
if (!curActiveCluster || curActiveCluster.workspace !== workspaceStore.currentWorkspaceId) {
|
||||
this.activeCluster = null;
|
||||
} else {
|
||||
this.activeCluster = activeCluster;
|
||||
}
|
||||
|
||||
this.clusters.replace(newClusters);
|
||||
this.removedClusters.replace(removedClusters);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user