Don't clear alert grid and top tag popover data if watchdog shows an alert

This prevents grid flaps, watchdog error will be shown above all alerts, not instead of
This commit is contained in:
Łukasz Mierzwa
2017-03-31 23:52:17 -07:00
parent 582c3344f6
commit 6302af62ea

View File

@@ -23,13 +23,11 @@ var Watchdog = (function() {
var now = moment().utc().unix();
if (now - lastTs > maxLag) {
Grid.Clear();
$('#errors').html(haml.compileHaml('fatal-error')({
last_ts: lastTs,
seconds_left: fatalCountdown
}));
Counter.Unknown();
Summary.Reset();
if (!inCountdown) {
fatalCountdown = 60;
fatalReloadTimer = setTimeout(function() {