From 67f282743e36d0edbaa53bace989f040ccf985cf Mon Sep 17 00:00:00 2001 From: Carlos <28845529+mesacarlos@users.noreply.github.com> Date: Sat, 22 Feb 2020 18:41:24 +0100 Subject: [PATCH] Minor fix --- client/scripts/WebConsole.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/scripts/WebConsole.js b/client/scripts/WebConsole.js index 2814320..38401dd 100644 --- a/client/scripts/WebConsole.js +++ b/client/scripts/WebConsole.js @@ -59,7 +59,8 @@ function onWebSocketsMessage(message){ writeToWebConsole(message.message); if(connectionManager.activeConnection.isLogged === false){ connectionManager.activeConnection.isLogged = true; - connectionManager.askForLogs(); + if(persistenceManager.getSetting("retrieveLogFile") === true) + connectionManager.askForLogs(); } break; case 400: