mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix: "disconnect" cluster from clusters context-menu
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
1 parent
70bbb9fa62
commit
a40a9fec0e
3 files changed
+14
-11
No files matched your search
+5
-4
@@ -334,13 +334,14 @@ export class Cluster implements ClusterModel {
|
||||
})
|
||||
}
|
||||
|
||||
pushState = (clusterState = this.getState()) => {
|
||||
logger.debug(`[CLUSTER]: push-state`, clusterState);
|
||||
pushState = (state = this.getState()): ClusterState => {
|
||||
logger.debug(`[CLUSTER]: push-state`, state);
|
||||
broadcastIpc({
|
||||
// webContentId: viewId, // todo: send to cluster-view only
|
||||
channel: "cluster:state",
|
||||
args: [clusterState],
|
||||
})
|
||||
args: [state],
|
||||
});
|
||||
return state;
|
||||
}
|
||||
|
||||
// get cluster system meta, e.g. use in "logger"
|
||||
|
||||
Reference in new issue
Block a user