diff options
author | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2023-01-25 15:58:10 +0100 |
---|---|---|
committer | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2023-02-27 15:41:35 +0100 |
commit | 76999d1626bdf6d533110fad06f1c2775738c58a (patch) | |
tree | 84fd85970d0a2af2b292f71ba62c60ea5892adc7 /apps/files_sharing/src | |
parent | 70a68e88f56c67c39f5b06d7532704bd5fe7acf3 (diff) | |
download | nextcloud-server-76999d1626bdf6d533110fad06f1c2775738c58a.tar.gz nextcloud-server-76999d1626bdf6d533110fad06f1c2775738c58a.zip |
Adapt native tooltip for new structure of NcAvatar
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntry.vue | 2 | ||||
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryInherited.vue | 3 | ||||
-rw-r--r-- | apps/files_sharing/src/views/SharingTab.vue | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index b4549112964..92527a8f14a 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -25,7 +25,7 @@ <NcAvatar class="sharing-entry__avatar" :is-no-user="share.type !== SHARE_TYPES.SHARE_TYPE_USER" :user="share.shareWith" - :title="share.type === SHARE_TYPES.SHARE_TYPE_USER ? share.shareWithDisplayName : ''" + :display-name="share.shareWithDisplayName" :menu-position="'left'" :url="share.shareWithAvatar" /> diff --git a/apps/files_sharing/src/components/SharingEntryInherited.vue b/apps/files_sharing/src/components/SharingEntryInherited.vue index e4979fdc44d..dd53f4f637b 100644 --- a/apps/files_sharing/src/components/SharingEntryInherited.vue +++ b/apps/files_sharing/src/components/SharingEntryInherited.vue @@ -26,8 +26,7 @@ :title="share.shareWithDisplayName"> <template #avatar> <NcAvatar :user="share.shareWith" - :aria-label="share.shareWithDisplayName" - :title="share.shareWithDisplayName" + :display-name="share.shareWithDisplayName" class="sharing-entry__avatar" /> </template> <NcActionText icon="icon-user"> diff --git a/apps/files_sharing/src/views/SharingTab.vue b/apps/files_sharing/src/views/SharingTab.vue index f7920346981..ea25149b97e 100644 --- a/apps/files_sharing/src/views/SharingTab.vue +++ b/apps/files_sharing/src/views/SharingTab.vue @@ -34,7 +34,7 @@ <SharingEntrySimple v-if="isSharedWithMe" v-bind="sharedWithMe" class="sharing-entry__reshare"> <template #avatar> <NcAvatar :user="sharedWithMe.user" - :title="sharedWithMe.displayName" + :display-name="sharedWithMe.displayName" class="sharing-entry__avatar" /> </template> </SharingEntrySimple> |