fix pending alert annotation tooltip icon

This commit is contained in:
Marcus Efraimsson 2018-11-15 16:00:32 +01:00
parent caec36e7ec
commit 48905a613d
No known key found for this signature in database
GPG Key ID: EBFE0FB04612DD4A

View File

@ -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;