Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-07-22 14:21:25 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-07-22 14:21:25 +0300
commit7ca81f360f42341b2941798374160d362507ba26 (patch)
treea3d4701504898e6c864980b989b78fc88ed92fbd /apps/files_sharing/src
parent49b490ce6d1d726aa1c335b0b5c440d8a3cae5ff (diff)
Fix eslint and update bundles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r--apps/files_sharing/src/views/SharingLinkList.vue2
-rw-r--r--apps/files_sharing/src/views/SharingList.vue1
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/src/views/SharingLinkList.vue b/apps/files_sharing/src/views/SharingLinkList.vue
index 13db718886e..c87dcb59585 100644
--- a/apps/files_sharing/src/views/SharingLinkList.vue
+++ b/apps/files_sharing/src/views/SharingLinkList.vue
@@ -112,6 +112,7 @@ export default {
* @param {Function} resolve a function to run after the share is added and its component initialized
*/
addShare(share, resolve) {
+ // eslint-disable-next-line vue/no-mutating-props
this.shares.unshift(share)
this.awaitForShare(share, resolve)
},
@@ -140,6 +141,7 @@ export default {
*/
removeShare(share) {
const index = this.shares.findIndex(item => item === share)
+ // eslint-disable-next-line vue/no-mutating-props
this.shares.splice(index, 1)
},
},
diff --git a/apps/files_sharing/src/views/SharingList.vue b/apps/files_sharing/src/views/SharingList.vue
index 5c2a21c8bf8..0635ad27635 100644
--- a/apps/files_sharing/src/views/SharingList.vue
+++ b/apps/files_sharing/src/views/SharingList.vue
@@ -80,6 +80,7 @@ export default {
*/
removeShare(share) {
const index = this.shares.findIndex(item => item === share)
+ // eslint-disable-next-line vue/no-mutating-props
this.shares.splice(index, 1)
},
},