fix pending alert annotation tooltip icon

pull/13947/head
Marcus Efraimsson 7 years ago
parent caec36e7ec
commit 48905a613d
No known key found for this signature in database
GPG Key ID: EBFE0FB04612DD4A
  1. 2
      public/app/features/annotations/annotation_tooltip.ts

@ -32,7 +32,7 @@ export function annotationTooltipDirective($sanitize, dashboardSrv, contextSrv,
if (event.alertId) {
const stateModel = alertDef.getStateDisplayModel(event.newState);
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);
if (event.text) {
text = text + '<br />' + event.text;

Loading…
Cancel
Save