Commit 1f417f06 by Julien Pivotto

Reload filters when loading page

This commit refreshes the dynamic filters when loading page.
parent 30bf8380
...@@ -28,6 +28,9 @@ function (angular, app, _) { ...@@ -28,6 +28,9 @@ function (angular, app, _) {
$scope.init = function() { $scope.init = function() {
$scope.filterSrv = filterSrv; $scope.filterSrv = filterSrv;
_.each(filterSrv.list, function(filter) {
$scope.applyFilter(filter);
});
}; };
$scope.remove = function(filter) { $scope.remove = function(filter) {
......
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