Merge pull request #13388 from jsferrei/fix-metric-segment-typeahead

Fix metric-segment options displaying after blur
This commit is contained in:
Torkel Ödegaard
2018-09-22 09:42:53 +02:00
committed by GitHub

View File

@@ -118,6 +118,9 @@ export function metricSegment($compile, $sce) {
};
$scope.matcher = function(item) {
if (linkMode) {
return false;
}
let str = this.query;
if (str[0] === '/') {
str = str.substring(1);