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
parent 0a897708d6
commit ecef8abf65
No known key found for this signature in database
GPG key ID: 7076EA9751AACDDA
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}',