[Connect | Trunk]: Add fixRedirectUrl on service

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60655 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2021-03-17 09:58:30 +00:00
parent 4321ca1033
commit d4a2820d23
1 changed files with 5 additions and 0 deletions

View File

@ -166,6 +166,11 @@ export class AppComponent {
this.buildMenu(communityId);
}
this.communityId = communityId;
if(this.communityId === null) {
this.userManagementService.fixRedirectURL = properties.afterLoginRedirectLink;
} else {
this.userManagementService.fixRedirectURL = null;
}
}
public buildMenu(communityId: string) {