mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
alerting: improve annotations for pending state
This commit is contained in:
@@ -161,7 +161,11 @@ module.directive('grafanaPanel', ($rootScope, $document, $timeout) => {
|
||||
panelContainer.removeClass('panel-alert-state--' + lastAlertState);
|
||||
}
|
||||
|
||||
if (ctrl.alertState.state === 'ok' || ctrl.alertState.state === 'alerting') {
|
||||
if (
|
||||
ctrl.alertState.state === 'ok' ||
|
||||
ctrl.alertState.state === 'alerting' ||
|
||||
ctrl.alertState.state === 'pending'
|
||||
) {
|
||||
panelContainer.addClass('panel-alert-state--' + ctrl.alertState.state);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user