fix: graphite annotation tooltip included undefined, fixes #9707

(cherry picked from commit 43d45f9fae)
This commit is contained in:
Torkel Ödegaard
2017-10-28 13:00:26 +02:00
parent c47f670a58
commit dce8522575
@@ -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 = '';
}