fix: graphite annotation tooltip included undefined, fixes #9707

This commit is contained in:
Torkel Ödegaard 2017-10-28 12:59:32 +02:00
parent 71d9126bb6
commit 43d45f9fae

View File

@ -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 = '';
}