From 9138efca6f3544c78255264d8db297dd1cb00413 Mon Sep 17 00:00:00 2001 From: Danielv123 Date: Mon, 22 Nov 2021 10:20:06 +0100 Subject: [PATCH] Clear log console when changing props --- packages/web_ui/src/components/LogConsole.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web_ui/src/components/LogConsole.jsx b/packages/web_ui/src/components/LogConsole.jsx index aa76c7a7..a9fd58d7 100644 --- a/packages/web_ui/src/components/LogConsole.jsx +++ b/packages/web_ui/src/components/LogConsole.jsx @@ -69,6 +69,7 @@ export default function LogConsole(props) { parent.scrollTop = parent.scrollHeight - parent.clientHeight; if (account.hasPermission("core.log.query")) { + setPastLines([{"Loading past entries..."}
]); libLink.messages.queryLog.send(control, { ...logFilter, max_level: null,