1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-01-25 07:39:16 +02:00
parent e062175343
commit add376510a

View File

@ -35,7 +35,7 @@ export async function broadcastMessage(channel: string, ...args: any[]) {
} else { } else {
subFrames = await getSubFrames(); subFrames = await getSubFrames();
} }
const views = (webContents || remote.webContents)?.getAllWebContents(); const views = (webContents || remote?.webContents)?.getAllWebContents();
if (!views) return; if (!views) return;