From 00a5150042526cfda77f6aeff62814bcff5219e4 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 4 Mar 2024 11:17:50 +0200 Subject: [PATCH] [develop | DONE | FIXED]: [BUG FIX] resultLanding.component.ts: Get type of entity from route.snapshot.data.type. --- landingPages/result/resultLanding.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/landingPages/result/resultLanding.component.ts b/landingPages/result/resultLanding.component.ts index d1eb7126..769f1975 100644 --- a/landingPages/result/resultLanding.component.ts +++ b/landingPages/result/resultLanding.component.ts @@ -199,6 +199,9 @@ export class ResultLandingComponent { private userManagementService: UserManagementService, private layoutService: LayoutService, private _contextService: ContextsService) { + if(route.snapshot.data && route.snapshot.data['type']) { + this.type = route.snapshot.data['type']; + } } ngOnInit() {