From 1c83fff4db93c4884e677cb6a1201077091f9a99 Mon Sep 17 00:00:00 2001 From: Roman Date: Mon, 17 Aug 2020 19:30:34 +0300 Subject: [PATCH] clean up Signed-off-by: Roman --- src/main/window-manager.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/window-manager.ts b/src/main/window-manager.ts index 9fcfa26931..462cbad026 100644 --- a/src/main/window-manager.ts +++ b/src/main/window-manager.ts @@ -58,12 +58,6 @@ export class WindowManager { } } - getClusterView(clusterId: ClusterId): WebContents { - return webContents.getAllWebContents().find(view => { - return new URL(view.getURL()).host.split(".")[0] === clusterId; - }) - } - async showMain() { try { await this.showSplash();