aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/app.component.html
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-03-31 11:28:42 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-03-31 11:28:42 -0400
commit5f083f775917c15597b3b70a0eb6a0ce2fda7667 (patch)
treeac9cbc93a323e4e35437c97620e3b22d23c1aaba /ufund-ui/src/app/app.component.html
parentcfe40fa1e416fbf4586ef36b63a145453a4d6224 (diff)
downloadJellySolutions-5f083f775917c15597b3b70a0eb6a0ce2fda7667.tar.gz
JellySolutions-5f083f775917c15597b3b70a0eb6a0ce2fda7667.tar.bz2
JellySolutions-5f083f775917c15597b3b70a0eb6a0ce2fda7667.zip
More css tweaks
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 b41a225..89075e1 100644
--- a/ufund-ui/src/app/app.component.html
+++ b/ufund-ui/src/app/app.component.html
@@ -17,8 +17,8 @@
<a routerLink="/cupboard">Cupboard</a>
<a routerLink="/basket">Basket</a>
<!-- <span>{{currentUser$ | async}}</span>-->
- <button *ngIf="currentUser$.value != 'Logged out.'" onclick="location.href='/';"> Log Out</button>
- <button *ngIf="currentUser$.value == 'Logged out.'" routerLink="/login"> Log In</button>
+ <button *ngIf="currentUser | async" (click)="logout()"> Log Out</button>
+ <button *ngIf="!(currentUser | async)" (click)="login()"> Log In</button>
</div>
</div>