aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
diff options
context:
space:
mode:
authorfenn-cs <fenn25.fn@gmail.com>2024-10-30 14:49:43 +0100
committerfenn-cs <fenn25.fn@gmail.com>2024-10-30 14:56:55 +0100
commit0daacbe81d0e860eb4daa845902277401f96a552 (patch)
treee996bdf03fe531a5ae29956746fd1b75d074528c /apps/files_sharing/src
parent1140e41db2ef6241f806eb605df48642a2a32c62 (diff)
downloadnextcloud-server-0daacbe81d0e860eb4daa845902277401f96a552.tar.gz
nextcloud-server-0daacbe81d0e860eb4daa845902277401f96a552.zip
fix(ShareEntryLinkList): Append new links to the end of list
Currently new shares are added to beginning of the share list in the UI messing up the ordering with the original (first) looking like the most recent and the most recent looking like the original share. This error disappears on refresh. Resolves : https://github.com/nextcloud/server/issues/48415 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Diffstat (limited to 'apps/files_sharing/src')
-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 2d800c97000..d9f13160241 100644
--- a/apps/files_sharing/src/views/SharingLinkList.vue
+++ b/apps/files_sharing/src/views/SharingLinkList.vue
@@ -105,7 +105,7 @@ export default {
*/
addShare(share, resolve) {
// eslint-disable-next-line vue/no-mutating-props
- this.shares.unshift(share)
+ this.shares.push(share)
this.awaitForShare(share, resolve)
},