diff options
author | Dan VerWeire <dverweire@gmail.com> | 2021-02-11 15:36:33 -0500 |
---|---|---|
committer | npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com> | 2021-02-12 07:32:26 +0000 |
commit | 1f47ae7c1b94265799ff658bbfb1c721dffc14b5 (patch) | |
tree | 58da6e9c126f0e1ee146b5c04f9c89e31931e1d7 /apps/files_sharing/src/components/SharingEntry.vue | |
parent | f124cb0ef11fa15f21217552bedc6dd4a8ff9b5d (diff) | |
download | nextcloud-server-1f47ae7c1b94265799ff658bbfb1c721dffc14b5.tar.gz nextcloud-server-1f47ae7c1b94265799ff658bbfb1c721dffc14b5.zip |
Use ownerDisplayName for SharingEntry Tooltip
Some NC installations may use a LDAP UUID for the username. If that
is the case, then the tooltip for who a file/folder was shared by may say something
like `Shared with Steve McQueen (smqueen@yada.com) by FKDJ39-38D794JG-4398GJODF9H3G-4534`.
This commit changes the value showed for the owner to the full display name.
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntry.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntry.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index c66dfc5c802..e2fcaa35a76 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -207,7 +207,7 @@ export default { // todo: strong or italic? // but the t function escape any html from the data :/ user: this.share.shareWithDisplayName, - owner: this.share.owner, + owner: this.share.ownerDisplayName, } if (this.share.type === this.SHARE_TYPES.SHARE_TYPE_GROUP) { |