diff --git a/packages/nc-gui/components/account/Profile.vue b/packages/nc-gui/components/account/Profile.vue new file mode 100644 index 0000000000..6d3770d500 --- /dev/null +++ b/packages/nc-gui/components/account/Profile.vue @@ -0,0 +1,113 @@ + + + diff --git a/packages/nc-gui/components/dashboard/Sidebar/UserInfo.vue b/packages/nc-gui/components/dashboard/Sidebar/UserInfo.vue index 076c4e77f1..30ae467c68 100644 --- a/packages/nc-gui/components/dashboard/Sidebar/UserInfo.vue +++ b/packages/nc-gui/components/dashboard/Sidebar/UserInfo.vue @@ -9,7 +9,7 @@ const { leftSidebarState } = storeToRefs(useSidebarStore()) const { copy } = useCopy(true) -const name = computed(() => `${user.value?.firstname ?? ''} ${user.value?.lastname ?? ''}`.trim()) +const name = computed(() => user.value?.display_name?.trim()) const isMenuOpen = ref(false) @@ -133,7 +133,7 @@ onMounted(() => { - + Account Settings diff --git a/packages/nc-gui/components/general/UserIcon.vue b/packages/nc-gui/components/general/UserIcon.vue index 32c8bdda4f..1a37dfaa42 100644 --- a/packages/nc-gui/components/general/UserIcon.vue +++ b/packages/nc-gui/components/general/UserIcon.vue @@ -1,26 +1,26 @@