From 50876ce78356a5fc6efde3310dcaec14023534ad Mon Sep 17 00:00:00 2001 From: Joyelle Ndagijimana Date: Sun, 20 Apr 2025 17:27:01 +0200 Subject: [PATCH] fix(frontend): naam van user opnieuw tonen in menubar --- frontend/src/components/MenuBar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/MenuBar.vue b/frontend/src/components/MenuBar.vue index 38b4cfb9..28c8afcb 100644 --- a/frontend/src/components/MenuBar.vue +++ b/frontend/src/components/MenuBar.vue @@ -11,8 +11,8 @@ const role = auth.authState.activeRole; - const name = "";//Auth.authState.user!.profile.name!; - const initials: string = name + const name = ref(auth.authState.user!.profile.name!); + const initials: string = name.value .split(" ") .map((n) => n[0]) .join("");