Start authentication proxy when opening cluster settings (#1063)

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala authored and GitHub committed 2020-10-12 10:10:30 +03:00
1 parent dc07d646ec
commit daa4992f2b
4 files changed
+16 -11

No files matched your search

+2 -3
View File
@@ -5,11 +5,10 @@ import { tracker } from "./tracker";
export const clusterIpc = {
activate: createIpcChannel({
channel: "cluster:activate",
handle: (clusterId: ClusterId, frameId?: number) => {
handle: (clusterId: ClusterId, force = false) => {
const cluster = clusterStore.getById(clusterId);
if (cluster) {
if (frameId) cluster.frameId = frameId; // save cluster's webFrame.routingId to be able to send push-updates
return cluster.activate();
return cluster.activate(force);
}
},
}),