mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 16:13:12 +09:00
Clear log console when changing props
This commit is contained in:
1 file changed
+1
@@ -69,6 +69,7 @@ export default function LogConsole(props) {
|
|||||||
parent.scrollTop = parent.scrollHeight - parent.clientHeight;
|
parent.scrollTop = parent.scrollHeight - parent.clientHeight;
|
||||||
|
|
||||||
if (account.hasPermission("core.log.query")) {
|
if (account.hasPermission("core.log.query")) {
|
||||||
|
setPastLines([<span key={0}>{"Loading past entries..."}<br/></span>]);
|
||||||
libLink.messages.queryLog.send(control, {
|
libLink.messages.queryLog.send(control, {
|
||||||
...logFilter,
|
...logFilter,
|
||||||
max_level: null,
|
max_level: null,
|
||||||
|
|||||||
Reference in new issue
Block a user