remove space

This commit is contained in:
Dan Percic 2022-10-17 14:35:56 +03:00
parent 843415d9fd
commit 53b8442167

View File

@ -29,8 +29,8 @@ export class IqserAuthGuard extends KeycloakAuthGuard {
}
const user = await this._userService.loadCurrentUser();
if (user?.hasAnyRole && route.routeConfig?.path === 'auth-error') {
await this._router.navigate(['/main'])
if (user?.hasAnyRole && route.routeConfig?.path === 'auth-error') {
await this._router.navigate(['/main']);
return false;
}