ipc-refactoring, fixes

Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Roman authored and Lauri Nevala committed 2020-08-18 11:50:54 +03:00
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