summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/views/SharingLinkList.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/views/SharingLinkList.vue')
-rw-r--r--apps/files_sharing/src/views/SharingLinkList.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/views/SharingLinkList.vue b/apps/files_sharing/src/views/SharingLinkList.vue
index 83e0488970b..899424be1d8 100644
--- a/apps/files_sharing/src/views/SharingLinkList.vue
+++ b/apps/files_sharing/src/views/SharingLinkList.vue
@@ -116,7 +116,7 @@ export default {
*/
addShare(share, resolve) {
// eslint-disable-next-line vue/no-mutating-props
- this.shares = [share, ...this.shares]
+ this.shares.unshift(share)
this.awaitForShare(share, resolve)
},