aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components/SharingEntryLink.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntryLink.vue')
-rw-r--r--apps/files_sharing/src/components/SharingEntryLink.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue
index 7cf90280d94..8805026a7e7 100644
--- a/apps/files_sharing/src/components/SharingEntryLink.vue
+++ b/apps/files_sharing/src/components/SharingEntryLink.vue
@@ -485,10 +485,10 @@ export default {
* @returns {boolean}
*/
isPasswordProtectedByTalk: {
- get: function() {
+ get() {
return this.share.sendPasswordByTalk
},
- set: async function(enabled) {
+ async set(enabled) {
this.share.sendPasswordByTalk = enabled
},
},
@@ -535,10 +535,10 @@ export default {
* @returns {boolean}
*/
canUpdate: {
- get: function() {
+ get() {
return this.share.hasUpdatePermission
},
- set: function(enabled) {
+ set(enabled) {
this.share.permissions = enabled
? OC.PERMISSION_READ | OC.PERMISSION_UPDATE
: OC.PERMISSION_READ