RED-4026: Fixed route reuse

This commit is contained in:
Adina Țeudan 2022-05-12 18:42:55 +03:00
parent c55afe4839
commit ee09efdd25
3 changed files with 1 additions and 3 deletions

View File

@ -27,7 +27,6 @@ export class ArchivedDossiersScreenComponent extends ListingComponent<Dossier> i
) {
super(_injector);
this._dossierTemplateId = this._router.routerState.snapshot.root.firstChild.firstChild.paramMap.get(DOSSIER_TEMPLATE_ID);
this._router.routeReuseStrategy.shouldReuseRoute = () => false;
}
ngOnInit(): void {

View File

@ -39,7 +39,6 @@ export class DossiersListingScreenComponent extends ListingComponent<Dossier> im
) {
super(_injector);
this.dossierTemplateId = router.routerState.snapshot.root.firstChild.firstChild.paramMap.get(DOSSIER_TEMPLATE_ID);
router.routeReuseStrategy.shouldReuseRoute = () => false;
this.buttonConfigs = this._configService.buttonsConfig(this.dossierTemplateId);
}

@ -1 +1 @@
Subproject commit e20ed84ca2c59f7235de4d7d5e22e114b99ac51a
Subproject commit 58f7b5d8b9c88ef5c1f6ff7780e3417511523ee1