mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ugly temporary fix for scope issue. will be removed later on
This commit is contained in:
@@ -32,7 +32,7 @@ export class StackdriverFilterCtrl {
|
||||
|
||||
/** @ngInject */
|
||||
constructor(private $scope, private uiSegmentSrv, private templateSrv, private $rootScope) {
|
||||
this.$scope = $scope.$parent;
|
||||
this.$scope = $scope.hasOwnProperty('groupBysChanged') ? $scope : $scope.$parent;
|
||||
|
||||
this.initSegments(this.$scope.hideGroupBys);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user