Fetching alerts when come back from syscheck files

This commit is contained in:
Jesús Ángel 2018-11-28 15:43:57 +01:00
parent e4a9b1c6b1
commit ef52617edb

View File

@ -201,6 +201,11 @@ export class AgentsController {
this.$scope.switchSyscheckFiles = () => {
this.$scope.showSyscheckFiles = !this.$scope.showSyscheckFiles;
if(!this.$scope.showSyscheckFiles) {
this.$rootScope.$emit('changeTabView', {
tabView: this.$scope.tabView
});
}
if(!this.$scope.$$phase) this.$scope.$digest();
}
}