ソースを参照

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

Fix metric-segment options displaying after blur
Torkel Ödegaard 7 年 前
コミット
3fd3dbba8a
1 ファイル変更3 行追加0 行削除
  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);