aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/app.component.html
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-04-02 13:33:47 -0400
committerGunther6070 <haydenhartman10@yahoo.com>2025-04-02 13:33:47 -0400
commitf14d070155a6927d544a908545c648c402948fea (patch)
treef6f56af728b5d0d23f1f222962a9215bc852a080 /ufund-ui/src/app/app.component.html
parent22df0d963e09520339dfa9c681caeaaec790df8e (diff)
parent2eb67f9481d858474e77af545e71f68b2cea7041 (diff)
downloadJellySolutions-f14d070155a6927d544a908545c648c402948fea.tar.gz
JellySolutions-f14d070155a6927d544a908545c648c402948fea.tar.bz2
JellySolutions-f14d070155a6927d544a908545c648c402948fea.zip
Merge remote-tracking branch 'origin/css' into css
Diffstat (limited to 'ufund-ui/src/app/app.component.html')
-rw-r--r--ufund-ui/src/app/app.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufund-ui/src/app/app.component.html b/ufund-ui/src/app/app.component.html
index 959eada..f697695 100644
--- a/ufund-ui/src/app/app.component.html
+++ b/ufund-ui/src/app/app.component.html
@@ -5,9 +5,9 @@
</a>
</div>
<div>
- <a routerLink="/dashboard">Dashboard</a>
+ <a *ngIf="(currentUser | async)?.type === userType.MANAGER" routerLink="/dashboard">Dashboard</a>
<a routerLink="/cupboard">Cupboard</a>
- <a routerLink="/basket">Basket</a>
+ <a *ngIf="(currentUser | async)?.type === userType.HELPER" routerLink="/basket">Basket</a>
<!-- <span>{{currentUser$ | async}}</span>-->
<button *ngIf="currentUser | async" (click)="logout()"> Log Out</button>
<button *ngIf="!(currentUser | async)" (click)="login()"> Log In</button>