Fix "Error loading the shares list TypeError: "this is undefined"" for conversation shares

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-03-03 13:28:12 +01:00 committed by Roeland Jago Douma
parent b57ffe8d75
commit 275df5d233
No known key found for this signature in database
GPG Key ID: F941078878347C0C
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 } { escape: false }
) )
} else if (share.type === OC.Share.SHARE_TYPE_ROOM) { } else if (share.type === OC.Share.SHARE_TYPE_ROOM) {
if (this.model.get('reshare').share_with_displayname) { if (share.shareWithDisplayName) {
return t( return t(
'files_sharing', 'files_sharing',
'Shared with you and the conversation {conversation} by {owner}', 'Shared with you and the conversation {conversation} by {owner}',