Procházet zdrojové kódy

fix(elasticsearch): fixed query editor issue with elasticsearch

Torkel Ödegaard před 9 roky
rodič
revize
dfe3806d01
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      public/app/core/directives/metric_segment.js

+ 3 - 1
public/app/core/directives/metric_segment.js

@@ -209,7 +209,9 @@ function (_, $, coreModule) {
             // needs to call this after digest so
             // property is synced with outerscope
             $scope.$$postDigest(function() {
-              $scope.onChange();
+              $scope.$apply(function() {
+                $scope.onChange();
+              });
             });
           };