aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.js b/main.js
index 6c19d99..6cb76c8 100644
--- a/main.js
+++ b/main.js
@@ -59,6 +59,8 @@ app.on("activate", () => {
const { webContents } = require('electron');
+// TODO - only send messages to instance manager which will route request to correct webView, rather than
+// sending to all webViews
ipcMain.on("queryExecutor.runQueryComplete", (event, payload) => {
webContents.getAllWebContents().forEach((w) => {
w.send("queryExecutor.runQueryComplete", payload);