Merge pull request #24635 from nextcloud/bugfix/noid/show-email-recipient
Show email address for shares that were created by other users
This commit is contained in:
commit
43e07b36a9
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…
Reference in New Issue