RED-4026: Fixed route reuse
This commit is contained in:
parent
c55afe4839
commit
ee09efdd25
@ -27,7 +27,6 @@ export class ArchivedDossiersScreenComponent extends ListingComponent<Dossier> i
|
|||||||
) {
|
) {
|
||||||
super(_injector);
|
super(_injector);
|
||||||
this._dossierTemplateId = this._router.routerState.snapshot.root.firstChild.firstChild.paramMap.get(DOSSIER_TEMPLATE_ID);
|
this._dossierTemplateId = this._router.routerState.snapshot.root.firstChild.firstChild.paramMap.get(DOSSIER_TEMPLATE_ID);
|
||||||
this._router.routeReuseStrategy.shouldReuseRoute = () => false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
|||||||
@ -39,7 +39,6 @@ export class DossiersListingScreenComponent extends ListingComponent<Dossier> im
|
|||||||
) {
|
) {
|
||||||
super(_injector);
|
super(_injector);
|
||||||
this.dossierTemplateId = router.routerState.snapshot.root.firstChild.firstChild.paramMap.get(DOSSIER_TEMPLATE_ID);
|
this.dossierTemplateId = router.routerState.snapshot.root.firstChild.firstChild.paramMap.get(DOSSIER_TEMPLATE_ID);
|
||||||
router.routeReuseStrategy.shouldReuseRoute = () => false;
|
|
||||||
this.buttonConfigs = this._configService.buttonsConfig(this.dossierTemplateId);
|
this.buttonConfigs = this._configService.buttonsConfig(this.dossierTemplateId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit e20ed84ca2c59f7235de4d7d5e22e114b99ac51a
|
Subproject commit 58f7b5d8b9c88ef5c1f6ff7780e3417511523ee1
|
||||||
Loading…
x
Reference in New Issue
Block a user