diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-07-22 13:21:25 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-07-22 13:21:25 +0200 |
commit | 7ca81f360f42341b2941798374160d362507ba26 (patch) | |
tree | a3d4701504898e6c864980b989b78fc88ed92fbd /apps/files_sharing/src | |
parent | 49b490ce6d1d726aa1c335b0b5c440d8a3cae5ff (diff) | |
download | nextcloud-server-7ca81f360f42341b2941798374160d362507ba26.tar.gz nextcloud-server-7ca81f360f42341b2941798374160d362507ba26.zip |
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.vue | 2 | ||||
-rw-r--r-- | apps/files_sharing/src/views/SharingList.vue | 1 |
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) }, }, |