Clearing filters when path is changed

This commit is contained in:
Jesús Ángel 2018-07-23 10:41:44 +02:00 committed by Javier Castro
parent 3ac2aa64fa
commit 0ad9cf14d5

View File

@ -198,6 +198,7 @@ app.directive('wazuhTable', function() {
};
$scope.$on('wazuhUpdateInstancePath',(event,parameters) => {
instance.filters = [];
instance.path = parameters.path;
return init();
});