Skip to content

Commit 371353b

Browse files
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>
1 parent b7acd16 commit 371353b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/files_sharing/js/dist/files_sharing_tab.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files_sharing/js/dist/files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files_sharing/src/components/SharingEntry.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export default {
200200
// todo: strong or italic?
201201
// but the t function escape any html from the data :/
202202
user: this.share.shareWithDisplayName,
203-
owner: this.share.owner,
203+
owner: this.share.ownerDisplayName,
204204
}
205205
206206
if (this.share.type === this.SHARE_TYPES.SHARE_TYPE_GROUP) {

0 commit comments

Comments
 (0)