mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:15:55 +00:00
show alert if recent_log_events > 0
This commit is contained in:
@@ -272,6 +272,14 @@ define(["dojo/_base/declare"], function (declare) {
|
||||
}
|
||||
}
|
||||
|
||||
if (k == "recent_log_events") {
|
||||
const alert = $$(".log-alert")[0];
|
||||
|
||||
if (alert) {
|
||||
v > 0 ? alert.show() : alert.hide();
|
||||
}
|
||||
}
|
||||
|
||||
if (k == "daemon_stamp_ok" && v != 1) {
|
||||
Notify.error("<span onclick=\"App.explainError(3)\">Update daemon is not updating feeds.</span>", true);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user