diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-31 10:40:53 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-31 12:00:33 +0300 |
commit | 3a31397ac29f71db5313ea0e819a1362a019b5cc (patch) | |
tree | c14a1b88ccf1c4a7c57b752314ceec9c0e38b183 /apps/files_sharing/src/components/SharingEntry.vue | |
parent | a384b4a97a2a4444d8e2c831765dbf35c8da0db2 (diff) |
Use `babel-loader-exclude-node-modules-except`
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntry.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntry.vue | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index 70b95544b64..f37127d3b0c 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -268,10 +268,10 @@ export default { * Can the sharee edit the shared file ? */ canEdit: { - get: function() { + get() { return this.share.hasUpdatePermission }, - set: function(checked) { + set(checked) { this.updatePermissions({ isEditChecked: checked }) }, }, @@ -280,10 +280,10 @@ export default { * Can the sharee create the shared file ? */ canCreate: { - get: function() { + get() { return this.share.hasCreatePermission }, - set: function(checked) { + set(checked) { this.updatePermissions({ isCreateChecked: checked }) }, }, @@ -292,10 +292,10 @@ export default { * Can the sharee delete the shared file ? */ canDelete: { - get: function() { + get() { return this.share.hasDeletePermission }, - set: function(checked) { + set(checked) { this.updatePermissions({ isDeleteChecked: checked }) }, }, @@ -304,10 +304,10 @@ export default { * Can the sharee reshare the file ? */ canReshare: { - get: function() { + get() { return this.share.hasSharePermission }, - set: function(checked) { + set(checked) { this.updatePermissions({ isReshareChecked: checked }) }, }, @@ -325,10 +325,10 @@ export default { * @returns {boolean} */ hasExpirationDate: { - get: function() { + get() { return this.config.isDefaultInternalExpireDateEnforced || !!this.share.expireDate }, - set: function(enabled) { + set(enabled) { this.share.expireDate = enabled ? this.config.defaultInternalExpirationDateString !== '' ? this.config.defaultInternalExpirationDateString |