diff options
| author | Sonja Galovic <galovicsonja@gmail.com> | 2022-03-16 00:06:21 +0100 |
|---|---|---|
| committer | Sonja Galovic <galovicsonja@gmail.com> | 2022-03-16 00:06:21 +0100 |
| commit | f0e05dade823673fbf6568f50f64b93859000f32 (patch) | |
| tree | b6f73aff61eb7331fbcedf1bf4ad30324a087493 /frontend/src/app/_services/auth-guard.service.ts | |
| parent | 04c6967c4a501553d2d1caf956af1392306f21e1 (diff) | |
Promenjena veza add-model strane i dataset-load komponente. Dodat models.service - slanje dataseta i modela backendu.
Diffstat (limited to 'frontend/src/app/_services/auth-guard.service.ts')
| -rw-r--r-- | frontend/src/app/_services/auth-guard.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/app/_services/auth-guard.service.ts b/frontend/src/app/_services/auth-guard.service.ts index b6d3678d..057996e0 100644 --- a/frontend/src/app/_services/auth-guard.service.ts +++ b/frontend/src/app/_services/auth-guard.service.ts @@ -15,7 +15,7 @@ export class AuthGuardService implements CanActivate { if (this.auth.isAuthenticated()) { return true; } - this.router.navigate(['login']); + this.router.navigate(['']); return false; } } |
