[develop | DONE | FIXED]: [BUG FIX] resultLanding.component.ts: Get type of entity from route.snapshot.data.type.
This commit is contained in:
parent
da4a5f3321
commit
00a5150042
|
@ -199,6 +199,9 @@ export class ResultLandingComponent {
|
||||||
private userManagementService: UserManagementService,
|
private userManagementService: UserManagementService,
|
||||||
private layoutService: LayoutService,
|
private layoutService: LayoutService,
|
||||||
private _contextService: ContextsService) {
|
private _contextService: ContextsService) {
|
||||||
|
if(route.snapshot.data && route.snapshot.data['type']) {
|
||||||
|
this.type = route.snapshot.data['type'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|
Loading…
Reference in New Issue