From 803d546c70d01ebdb87f34b22984a986f7064246 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Tue, 8 Jan 2019 12:44:43 +0100 Subject: [PATCH] ugly fix. will be removed later on --- public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts b/public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts index 99a2bd0f361..ffc169f1e66 100644 --- a/public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts +++ b/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); }