Skip to content

Commit d3415f4

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 efa1ef5 commit d3415f4

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
@@ -207,7 +207,7 @@ export default {
207207
// todo: strong or italic?
208208
// but the t function escape any html from the data :/
209209
user: this.share.shareWithDisplayName,
210-
owner: this.share.owner,
210+
owner: this.share.ownerDisplayName,
211211
}
212212
213213
if (this.share.type === this.SHARE_TYPES.SHARE_TYPE_GROUP) {

0 commit comments

Comments
 (0)