From 7ca81f360f42341b2941798374160d362507ba26 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Thu, 22 Jul 2021 13:21:25 +0200 Subject: Fix eslint and update bundles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files_sharing/src/views/SharingLinkList.vue | 2 ++ apps/files_sharing/src/views/SharingList.vue | 1 + 2 files changed, 3 insertions(+) (limited to 'apps/files_sharing/src') 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) }, }, -- cgit v1.2.3