Commit 87cb3d4c by Erik Sundell

ugly temporary fix for scope issue. will be removed later on

parent e75aec99
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment