aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/dashboard/dashboard.component.ts
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-04-04 23:33:19 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-04-04 23:33:19 -0400
commit483f74a420f7aabe4ef0eeafeb668bd9f0da12be (patch)
tree74734bae4a7c38d8d236cb9993c50e8367fb917b /ufund-ui/src/app/components/dashboard/dashboard.component.ts
parent814b9c0f281176cb4e5787e47292754493427fca (diff)
downloadJellySolutions-483f74a420f7aabe4ef0eeafeb668bd9f0da12be.tar.gz
JellySolutions-483f74a420f7aabe4ef0eeafeb668bd9f0da12be.tar.bz2
JellySolutions-483f74a420f7aabe4ef0eeafeb668bd9f0da12be.zip
Remove old auth redirect code
Diffstat (limited to '')
-rw-r--r--ufund-ui/src/app/components/dashboard/dashboard.component.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/ufund-ui/src/app/components/dashboard/dashboard.component.ts b/ufund-ui/src/app/components/dashboard/dashboard.component.ts
index 1181608..2ab4db2 100644
--- a/ufund-ui/src/app/components/dashboard/dashboard.component.ts
+++ b/ufund-ui/src/app/components/dashboard/dashboard.component.ts
@@ -29,12 +29,6 @@ export class DashboardComponent implements OnInit{
) {}
ngOnInit() {
- let user = this.authService.getCurrentUser()
- if(!localStorage.getItem("credential") && !user) {
- this.router.navigate(['/login'])
- return
- }
-
this.userService.getCount().subscribe(count => this.count.next(count))
this.cupboardService.getNeeds().subscribe(needs => {
let totalValue = 0