From 5fd24e2435a28e95a88a1a9989f532c4b6809581 Mon Sep 17 00:00:00 2001 From: Jon Ferreira Date: Fri, 21 Sep 2018 17:17:29 -0400 Subject: [PATCH] Fix https://github.com/grafana/grafana/issues/13387 metric segment options displays after blur --- public/app/core/directives/metric_segment.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/app/core/directives/metric_segment.ts b/public/app/core/directives/metric_segment.ts index 7759e14f2cc..de904e95fc6 100644 --- a/public/app/core/directives/metric_segment.ts +++ b/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);