Przeglądaj źródła

fix: graphite annotation tooltip included undefined, fixes #9707

Torkel Ödegaard 8 lat temu
rodzic
commit
43d45f9fae

+ 1 - 1
public/app/features/annotations/annotation_tooltip.ts

@@ -39,7 +39,7 @@ export function annotationTooltipDirective($sanitize, dashboardSrv, contextSrv,
           text = text + '<br />' + event.text;
         }
       } else if (title) {
-        text = title + '<br />' + text;
+        text = title + '<br />' + (_.isString(text) ? text : '');
         title = '';
       }