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
commit 3fd3dbba8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);