Commit 43d45f9f by Torkel Ödegaard

fix: graphite annotation tooltip included undefined, fixes #9707

parent 71d9126b
...@@ -39,7 +39,7 @@ export function annotationTooltipDirective($sanitize, dashboardSrv, contextSrv, ...@@ -39,7 +39,7 @@ export function annotationTooltipDirective($sanitize, dashboardSrv, contextSrv,
text = text + '<br />' + event.text; text = text + '<br />' + event.text;
} }
} else if (title) { } else if (title) {
text = title + '<br />' + text; text = title + '<br />' + (_.isString(text) ? text : '');
title = ''; title = '';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment