Merge pull request #19763 from nextcloud/bugfix/noid/received-share-sidebar-broken

Fix "Error loading the shares list TypeError: "this is undefined"" fo…
This commit is contained in:
Joas Schilling 2020-03-06 16:43:20 +01:00 committed by GitHub
commit e57f619e1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -50,7 +50,7 @@ const shareWithTitle = function(share) {
{ escape: false }
)
} else if (share.type === OC.Share.SHARE_TYPE_ROOM) {
if (this.model.get('reshare').share_with_displayname) {
if (share.shareWithDisplayName) {
return t(
'files_sharing',
'Shared with you and the conversation {conversation} by {owner}',