mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
ipc-refactoring, fixes
Signed-off-by: Roman <ixrock@gmail.com> Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
1 parent
a78d5a0fb9
commit
5452fdb32d
5 files changed
+112
-72
No files matched your search
@@ -52,7 +52,7 @@ export class ClusterStatus extends React.Component<Props> {
|
||||
}
|
||||
|
||||
async refreshClusterState() {
|
||||
return clusterIpc.activate.invokeFromRenderer(this.clusterId);
|
||||
await clusterIpc.activate.invokeFromRenderer(this.clusterId);
|
||||
}
|
||||
|
||||
reconnect = async () => {
|
||||
|
||||
@@ -38,7 +38,7 @@ export class ClusterView extends React.Component {
|
||||
view.setAttribute("enableremotemodule", "true")
|
||||
view.addEventListener("did-finish-load", () => {
|
||||
console.log('CLUSTER VIEW READY!', cluster)
|
||||
view.openDevTools()
|
||||
// view.openDevTools()
|
||||
});
|
||||
view.addEventListener("did-fail-load", event => {
|
||||
// todo: handle
|
||||
|
||||
Reference in new issue
Block a user