From aeee63a8c83876aeb0b095cb3424959e04d0a8ec Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Tue, 31 Oct 2023 11:02:15 +0530 Subject: [PATCH] fix: Fixed user display name fix --- packages/nc-gui/composables/useRoles/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nc-gui/composables/useRoles/index.ts b/packages/nc-gui/composables/useRoles/index.ts index 7f448d13f3..7f410f1ffb 100644 --- a/packages/nc-gui/composables/useRoles/index.ts +++ b/packages/nc-gui/composables/useRoles/index.ts @@ -115,6 +115,7 @@ export const useRoles = createSharedComposable(() => { ...user.value, roles: res.roles, base_roles: res.base_roles, + display_name: res.display_name, } as typeof User } else { const res = await api.auth.me({}) @@ -123,6 +124,7 @@ export const useRoles = createSharedComposable(() => { ...user.value, roles: res.roles, base_roles: res.base_roles, + display_name: res.display_name, } as typeof User } }