From 4c63eba045cf13bcf96e4e0ccabbda2a5b6c65ac Mon Sep 17 00:00:00 2001 From: provokateurin Date: Mon, 4 Nov 2024 12:29:40 +0100 Subject: [PATCH] fix(SharingEntry): Display owner name if the owner is someone else Signed-off-by: provokateurin --- apps/files_sharing/src/components/SharingEntry.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index e97ff332422ec..13b2e51e86170 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -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() {