mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
change word
This commit is contained in:
@@ -32,6 +32,8 @@ export class AllProcessesPage implements OnInit {
|
||||
listSubscription : {
|
||||
delete(): void;
|
||||
}
|
||||
routerSubscription;
|
||||
|
||||
|
||||
|
||||
constructor(
|
||||
@@ -58,10 +60,18 @@ export class AllProcessesPage implements OnInit {
|
||||
|
||||
this.dynamicSearch();
|
||||
|
||||
this.routerSubscription = this.router.events.subscribe((event) => {
|
||||
if (event instanceof NavigationEnd && event.url.includes('/home/gabinete-digital')) {
|
||||
// this.refreshing();
|
||||
this.checkFilter();
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
this.listSubscription.delete()
|
||||
this.routerSubscription?.unsubscribe();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user