From 734d3d380cd70e87474adebedec5e230959bcf81 Mon Sep 17 00:00:00 2001 From: sowgro Date: Tue, 1 Apr 2025 19:44:28 -0400 Subject: Make nav bar buttons only show conditionally --- ufund-ui/src/app/app.component.html | 4 ++-- ufund-ui/src/app/models/User.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 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 @@
- Dashboard + Dashboard Cupboard - Basket + Basket diff --git a/ufund-ui/src/app/models/User.ts b/ufund-ui/src/app/models/User.ts index e6848fa..d7d67b5 100644 --- a/ufund-ui/src/app/models/User.ts +++ b/ufund-ui/src/app/models/User.ts @@ -1,6 +1,6 @@ export enum userType { - HELPER, - MANAGER + HELPER = "HELPER", + MANAGER = "MANAGER" } export interface User { -- cgit v1.2.3