mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(SharingEntry): Display owner name if the owner is someone else
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
715e7143f0
commit
c0db74633a
1 changed files with 5 additions and 0 deletions
|
|
@ -78,6 +78,11 @@ export default {
|
|||
} else if (this.share.type === this.SHARE_TYPES.SHARE_TYPE_GUEST) {
|
||||
title += ` (${t('files_sharing', 'guest')})`
|
||||
}
|
||||
if (!this.isShareOwner && this.share.ownerDisplayName) {
|
||||
title += ' ' + t('files_sharing', 'by {initiator}', {
|
||||
initiator: this.share.ownerDisplayName,
|
||||
})
|
||||
}
|
||||
return title
|
||||
},
|
||||
tooltip() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue