diff --git a/src/app/panels/filtering/module.html b/src/app/panels/filtering/module.html index 3f987fdeb02..a360161aa83 100644 --- a/src/app/panels/filtering/module.html +++ b/src/app/panels/filtering/module.html @@ -2,7 +2,7 @@
-
+
diff --git a/src/app/panels/filtering/module.js b/src/app/panels/filtering/module.js index 6c1e6b47962..b613cc64e5c 100644 --- a/src/app/panels/filtering/module.js +++ b/src/app/panels/filtering/module.js @@ -27,7 +27,7 @@ function (angular, app, _) { _.defaults($scope.panel,_d); $scope.init = function() { - $scope.filterList = filterSrv.list; + $scope.filterSrv = filterSrv; }; $scope.remove = function(filter) { @@ -40,7 +40,7 @@ function (angular, app, _) { }; $scope.applyFilterToOtherFilters = function(updatedFilter) { - _.each($scope.filterList, function(filter) { + _.each(filterSrv.list, function(filter) { if (filter === updatedFilter) { return; }