Commit 3fd3dbba by Torkel Ödegaard Committed by GitHub

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

Fix metric-segment options displaying after blur
parents 9fe0dcec 5fd24e24
...@@ -118,6 +118,9 @@ export function metricSegment($compile, $sce) { ...@@ -118,6 +118,9 @@ export function metricSegment($compile, $sce) {
}; };
$scope.matcher = function(item) { $scope.matcher = function(item) {
if (linkMode) {
return false;
}
let str = this.query; let str = this.query;
if (str[0] === '/') { if (str[0] === '/') {
str = str.substring(1); str = str.substring(1);
......
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