diff --git a/src/background/window.js b/src/background/window.js index 70d7f88..daeb23f 100644 --- a/src/background/window.js +++ b/src/background/window.js @@ -79,6 +79,7 @@ async function createWindow() { const handleRedirect = (e, url) => { try { + url = url || e.url; if (url.startsWith('http') && url !== mainWindow.webContents.getURL()) { shell.openExternal(url); diff --git a/src/components/contracts/ContractGrid.vue b/src/components/contracts/ContractGrid.vue index 490378d..d31d35d 100644 --- a/src/components/contracts/ContractGrid.vue +++ b/src/components/contracts/ContractGrid.vue @@ -39,7 +39,7 @@