Skip to content

Commit c0db746

Browse files
committed
fix(SharingEntry): Display owner name if the owner is someone else
Signed-off-by: provokateurin <[email protected]>
1 parent 715e714 commit c0db746

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apps/files_sharing/src/components/SharingEntry.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ export default {
7878
} else if (this.share.type === this.SHARE_TYPES.SHARE_TYPE_GUEST) {
7979
title += ` (${t('files_sharing', 'guest')})`
8080
}
81+
if (!this.isShareOwner && this.share.ownerDisplayName) {
82+
title += ' ' + t('files_sharing', 'by {initiator}', {
83+
initiator: this.share.ownerDisplayName,
84+
})
85+
}
8186
return title
8287
},
8388
tooltip() {

0 commit comments

Comments
 (0)