Browse Source

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

Fix metric-segment options displaying after blur
Torkel Ödegaard 7 years ago
parent
commit
3fd3dbba8a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      public/app/core/directives/metric_segment.ts

+ 3 - 0
public/app/core/directives/metric_segment.ts

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