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 } }