Merge pull request #19824 from nextcloud/backport/19763/stable18

[stable18] Fix "Error loading the shares list TypeError: "this is undefined"" fo…
This commit is contained in:
Roeland Jago Douma 2020-03-09 09:59:03 +01:00 committed by GitHub
commit f3f56a97ea
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}',