fix(frontend): naam van user opnieuw tonen in menubar

This commit is contained in:
Joyelle Ndagijimana 2025-04-20 17:27:01 +02:00
parent 5bb75ebdf8
commit 50876ce783

View file

@ -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("");