Преглед изворни кода

ugly fix. will be removed later on

Erik Sundell пре 7 година
родитељ
комит
803d546c70
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts

+ 1 - 1
public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts

@@ -32,7 +32,7 @@ export class StackdriverFilterCtrl {
 
   /** @ngInject */
   constructor(private $scope, private uiSegmentSrv, private templateSrv) {
-    this.$scope = $scope.hasOwnProperty('groupBysChanged') ? $scope : $scope.$parent;
+    this.$scope = $scope.labelData ? $scope : $scope.$parent;
 
     this.initSegments(this.$scope.hideGroupBys);
   }