From 6bcc96b4de0381928c6925f03ba547fc17182fdb Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sun, 18 Apr 2021 14:04:15 +0200 Subject: [PATCH] try to reduce import trouble --- vingester-control.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vingester-control.js b/vingester-control.js index daca22e..da02b39 100644 --- a/vingester-control.js +++ b/vingester-control.js @@ -236,8 +236,8 @@ const app = Vue.createApp({ await electron.ipcRenderer.invoke("browsers-export") }, async importBrowsers () { - if (await electron.ipcRenderer.invoke("browsers-import")) - this.load() + await electron.ipcRenderer.invoke("browsers-import") + this.load() }, async addBrowser () { const id = new UUID(1).fold(2).map((num) =>