mirror of
https://github.com/grafana/grafana.git
synced 2025-02-09 23:16:16 -06:00
fix pending alert annotation tooltip icon
This commit is contained in:
parent
caec36e7ec
commit
48905a613d
@ -32,7 +32,7 @@ export function annotationTooltipDirective($sanitize, dashboardSrv, contextSrv,
|
|||||||
if (event.alertId) {
|
if (event.alertId) {
|
||||||
const stateModel = alertDef.getStateDisplayModel(event.newState);
|
const stateModel = alertDef.getStateDisplayModel(event.newState);
|
||||||
titleStateClass = stateModel.stateClass;
|
titleStateClass = stateModel.stateClass;
|
||||||
title = `<i class="icon-gf ${stateModel.iconClass}"></i> ${stateModel.text}`;
|
title = `<i class="${stateModel.iconClass}"></i> ${stateModel.text}`;
|
||||||
text = alertDef.getAlertAnnotationInfo(event);
|
text = alertDef.getAlertAnnotationInfo(event);
|
||||||
if (event.text) {
|
if (event.text) {
|
||||||
text = text + '<br />' + event.text;
|
text = text + '<br />' + event.text;
|
||||||
|
Loading…
Reference in New Issue
Block a user