Show email address for shares that were created by other users

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
pull/24635/head
Julius Härtl 4 years ago committed by npmbuildbot-nextcloud[bot]
parent 27fdc6575d
commit 0c7cc95b4e

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -410,6 +410,12 @@ export default {
// if we have a valid existing share (not pending)
if (this.share && this.share.id) {
if (!this.isShareOwner && this.share.ownerDisplayName) {
if (this.isEmailShareType) {
return t('files_sharing', '{shareWith} by {initiator}', {
shareWith: this.share.shareWith,
initiator: this.share.ownerDisplayName,
})
}
return t('files_sharing', 'Shared via link by {initiator}', {
initiator: this.share.ownerDisplayName,
})

Loading…
Cancel
Save