diff options
author | Joas Schilling <coding@schilljs.com> | 2020-03-03 15:28:12 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-03-03 22:22:39 +0300 |
commit | 275df5d23344bed09af19efacac482f7809967ef (patch) | |
tree | e0664c6370a5dd68a2c16c4e21a3d4e802f29460 /apps/files_sharing/src/utils/SharedWithMe.js | |
parent | b57ffe8d7517d64d513bccbc065127f56f30b702 (diff) |
Fix "Error loading the shares list TypeError: "this is undefined"" for conversation shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/src/utils/SharedWithMe.js')
-rw-r--r-- | apps/files_sharing/src/utils/SharedWithMe.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/utils/SharedWithMe.js b/apps/files_sharing/src/utils/SharedWithMe.js index e1bc12ffed1..6a404416f3a 100644 --- a/apps/files_sharing/src/utils/SharedWithMe.js +++ b/apps/files_sharing/src/utils/SharedWithMe.js @@ -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}', |