mirror of
https://github.com/vladmandic/automatic
synced 2026-08-30 17:11:00 +02:00
fix notifications
This commit is contained in:
@@ -41,7 +41,7 @@ async function logMonitor() {
|
||||
document.getElementById('logWarnings').innerText = logWarnings;
|
||||
document.getElementById('logErrors').innerText = logErrors;
|
||||
const modenUIBtn = document.getElementById('btn_console');
|
||||
if (modenUIBtn) modenUIBtn.setAttribute('error-count', logErrors);
|
||||
if (modenUIBtn) modenUIBtn.setAttribute('error-count', logErrors > 0 ? logErrors : '');
|
||||
};
|
||||
|
||||
if (logMonitorStatus) setTimeout(logMonitor, opts.logmonitor_refresh_period);
|
||||
|
||||
Reference in New Issue
Block a user