diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 713ae3f0..2c6b7e35 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -39,7 +39,6 @@ export class AppComponent this.isLoading = false; break; default: - this.isLoading = false; break; } }); diff --git a/src/app/auth/auth.service.ts b/src/app/auth/auth.service.ts index 6d073a9e..d708d6e5 100644 --- a/src/app/auth/auth.service.ts +++ b/src/app/auth/auth.service.ts @@ -26,7 +26,6 @@ export class AuthService { this.getUser(); this.isAuthenticated = authorizationResult.authorizationState == AuthorizationState.authorized; - this.router.navigate(["/"]); }); this.getUser(); }