diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-10-30 17:39:31 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-11-05 21:03:44 +0300 |
commit | eebcf890917ca17f9e3bd00a792b89f841c824da (patch) | |
tree | 46d2767efaa1554629ef3fffce7e13f22675ce49 /apps/files_sharing/src/utils/SharedWithMe.js | |
parent | 5c0ad24a6830189a36b5538ee02738a57e067637 (diff) |
Cleanup sharing leftovers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src/utils/SharedWithMe.js')
-rw-r--r-- | apps/files_sharing/src/utils/SharedWithMe.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/src/utils/SharedWithMe.js b/apps/files_sharing/src/utils/SharedWithMe.js index b2e2e34a9bb..43abddc36b4 100644 --- a/apps/files_sharing/src/utils/SharedWithMe.js +++ b/apps/files_sharing/src/utils/SharedWithMe.js @@ -27,7 +27,7 @@ * @returns {string} the title */ const shareWithTitle = function(share) { - if (share.type === OC.Share.type_GROUP) { + if (share.type === OC.Share.SHARE_TYPE_GROUP) { return t( 'files_sharing', 'Shared with you and the group {group} by {owner}', @@ -38,7 +38,7 @@ const shareWithTitle = function(share) { undefined, { escape: false } ) - } else if (share.type === OC.Share.type_CIRCLE) { + } else if (share.type === OC.Share.SHARE_TYPE_CIRCLE) { return t( 'files_sharing', 'Shared with you and {circle} by {owner}', @@ -49,7 +49,7 @@ const shareWithTitle = function(share) { undefined, { escape: false } ) - } else if (share.type === OC.Share.type_ROOM) { + } else if (share.type === OC.Share.SHARE_TYPE_ROOM) { if (this.model.get('reshare').share_with_displayname) { return t( 'files_sharing', |