Loading src/app/shared/components/redirect/redirect.component.ts +2 −1 Original line number Diff line number Diff line Loading @@ -18,11 +18,12 @@ export class RedirectComponent implements OnInit { ngOnInit() { let isTestbedProvider = false; if(this.authService != null && this.authService.portalUserJWT !=null) { for(var val of this.authService.portalUserJWT.realm_access.roles){ if (val ==='TESTBED_PROVIDER') { isTestbedProvider=true } } }} //TODO insert redirection logic const activePortal = localStorage.getItem('active_portal') Loading Loading
src/app/shared/components/redirect/redirect.component.ts +2 −1 Original line number Diff line number Diff line Loading @@ -18,11 +18,12 @@ export class RedirectComponent implements OnInit { ngOnInit() { let isTestbedProvider = false; if(this.authService != null && this.authService.portalUserJWT !=null) { for(var val of this.authService.portalUserJWT.realm_access.roles){ if (val ==='TESTBED_PROVIDER') { isTestbedProvider=true } } }} //TODO insert redirection logic const activePortal = localStorage.getItem('active_portal') Loading