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>
This commit is contained in:
parent
efa1ef5d69
commit
d3415f4bf9
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -207,7 +207,7 @@ export default {
|
||||||
// todo: strong or italic?
|
// todo: strong or italic?
|
||||||
// but the t function escape any html from the data :/
|
// but the t function escape any html from the data :/
|
||||||
user: this.share.shareWithDisplayName,
|
user: this.share.shareWithDisplayName,
|
||||||
owner: this.share.owner,
|
owner: this.share.ownerDisplayName,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.share.type === this.SHARE_TYPES.SHARE_TYPE_GROUP) {
|
if (this.share.type === this.SHARE_TYPES.SHARE_TYPE_GROUP) {
|
||||||
|
|
Loading…
Reference in New Issue