diff --git a/gui/main.js b/gui/main.js index 7fa8ce5f..a4370892 100644 --- a/gui/main.js +++ b/gui/main.js @@ -330,8 +330,11 @@ app.whenReady().then(() => { let arg = { entry: `${data}` }; - logViewer.webContents.send('action-update-log', arg); - + // send info to log only if log screen available + // it seems an error occurs when updating + if (logViewer !== null && logViewer !== ''){ + logViewer.webContents.send('action-update-log', arg); + } }); diff --git a/gui/package.json b/gui/package.json index 2d5e7144..a6750994 100644 --- a/gui/package.json +++ b/gui/package.json @@ -1,6 +1,6 @@ { "name": "FreeDATA", - "version": "0.0.1-alpha.25", + "version": "0.1.0-alpha.1", "description": "FreeDATA ", "main": "main.js", "scripts": { diff --git a/gui/src/index.html b/gui/src/index.html index 64ca2cd4..45594ddf 100644 --- a/gui/src/index.html +++ b/gui/src/index.html @@ -697,9 +697,9 @@ - - + + + + + + + + +