Sfoglia il codice sorgente

fix pending alert annotation tooltip icon

Marcus Efraimsson 7 anni fa
parent
commit
48905a613d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      public/app/features/annotations/annotation_tooltip.ts

+ 1 - 1
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;