Explorar o código

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

Jon Ferreira %!s(int64=7) %!d(string=hai) anos
pai
achega
5fd24e2435
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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);