Clear log console when changing props

This commit is contained in:
Danielv123 committed 2021-11-22 10:20:06 +01:00
1 parent 52238de9b3
commit 9138efca6f
1 file changed
+1
@@ -69,6 +69,7 @@ export default function LogConsole(props) {
parent.scrollTop = parent.scrollHeight - parent.clientHeight;
if (account.hasPermission("core.log.query")) {
setPastLines([<span key={0}>{"Loading past entries..."}<br/></span>]);
libLink.messages.queryLog.send(control, {
...logFilter,
max_level: null,