mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
js: Don't add class impact
to already finished targets
This commit is contained in:
parent
62dd0b3f1e
commit
2a64a97302
@ -302,7 +302,9 @@
|
|||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
// The column may have not been shown before. To make the transition
|
// The column may have not been shown before. To make the transition
|
||||||
// delay working we have to wait for the column getting rendered
|
// delay working we have to wait for the column getting rendered
|
||||||
req.$target.addClass('impact');
|
if (req.state() === 'pending') {
|
||||||
|
req.$target.addClass('impact');
|
||||||
|
}
|
||||||
}, 0);
|
}, 0);
|
||||||
}
|
}
|
||||||
this.icinga.ui.refreshDebug();
|
this.icinga.ui.refreshDebug();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user