aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfenn-cs <fenn25.fn@gmail.com>2024-10-30 14:49:43 +0100
committerLouis Chemineau <louis@chmn.me>2024-10-31 14:44:38 +0100
commit3fd15c69820daa3e86d215927d959e257f97ff06 (patch)
treed928d585887577a43e7017903396d3ee5c02dda5
parent2819181c25640f4664a0cd9966b35ab83272c66e (diff)
downloadnextcloud-server-3fd15c69820daa3e86d215927d959e257f97ff06.tar.gz
nextcloud-server-3fd15c69820daa3e86d215927d959e257f97ff06.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>
-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 462d38fe8ad..9b23bc4285c 100644
--- a/apps/files_sharing/src/views/SharingLinkList.vue
+++ b/apps/files_sharing/src/views/SharingLinkList.vue
@@ -118,7 +118,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)
},