diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-10-30 15:39:31 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-11-05 19:03:44 +0100 |
commit | eebcf890917ca17f9e3bd00a792b89f841c824da (patch) | |
tree | 46d2767efaa1554629ef3fffce7e13f22675ce49 /apps/files_sharing/src/utils | |
parent | 5c0ad24a6830189a36b5538ee02738a57e067637 (diff) | |
download | nextcloud-server-eebcf890917ca17f9e3bd00a792b89f841c824da.tar.gz nextcloud-server-eebcf890917ca17f9e3bd00a792b89f841c824da.zip |
Cleanup sharing leftovers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src/utils')
-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', |