diff options
author | benal01 <bja4245@rit.edu> | 2025-04-02 23:00:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-02 23:00:14 -0400 |
commit | 2f67d2218b48937a370c5562eff5141b80475524 (patch) | |
tree | c744dd407f46f71b692aaaad6d4c66237c8ba9a5 /ufund-ui/src/app/app.component.html | |
parent | 2b7c42ffacaaf884bc9497e975c0c3274e9f966e (diff) | |
parent | fb6d8140830bbb5081056105eaa775f26885da8f (diff) | |
download | JellySolutions-2f67d2218b48937a370c5562eff5141b80475524.tar.gz JellySolutions-2f67d2218b48937a370c5562eff5141b80475524.tar.bz2 JellySolutions-2f67d2218b48937a370c5562eff5141b80475524.zip |
Merge pull request #25 from RIT-SWEN-261-02/need-image
Need image support + need page image styling
Diffstat (limited to 'ufund-ui/src/app/app.component.html')
-rw-r--r-- | ufund-ui/src/app/app.component.html | 4 |
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> |