ugly fix. will be removed later on

This commit is contained in:
Erik Sundell 2019-01-08 12:44:43 +01:00
parent d6e7fccc97
commit 803d546c70

View File

@ -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);
}