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…
Reference in New Issue