This commit is contained in:
Peter Maquiran
2023-02-27 09:31:10 +01:00
parent 6e2669e52f
commit 4731b402df
87 changed files with 86 additions and 4253 deletions
@@ -42,23 +42,23 @@ export class AllProcessesPage implements OnInit {
) {
this.loggeduser = SessionStore.user;
window['all-process'] = this.updateAllProcess
window['all-process'] = () => {
if(window.location.href.includes('?processes=true')) {
this.updateAllProcess()
}
}
}
ngOnInit() {
this.updateAllProcess()
// this.loadAllProcesses();
this.updateAllProcess()
this.router.events.forEach((event) => {
if (event instanceof NavigationStart && event.url.startsWith('/home/gabinete-digital')) {
if (window.location.pathname.startsWith('/home/gabinete-digital')) {
this.refreshing();
} else {
// this.loadAllProcesses();
}
this.router.events.forEach((event) => {
if (event instanceof NavigationStart && event.url.startsWith('/home/gabinete-digital')) {
if (window.location.pathname.startsWith('/home/gabinete-digital')) {
this.refreshing();
}
});
}
});
}
doRefresh(event) {