mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Reload filters when loading page
This commit refreshes the dynamic filters when loading page.
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user