소스 검색

Fix https://github.com/grafana/grafana/issues/13387 metric segment
options displays after blur

Jon Ferreira 7 년 전
부모
커밋
5fd24e2435
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);