From: fenn-cs Date: Wed, 30 Oct 2024 13:49:43 +0000 (+0100) Subject: fix(ShareEntryLinkList): Append new links to the end of list X-Git-Tag: v28.0.12rc1~7^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6f9760ee74cdf2ca00aca675e77c91689b4bec9b;p=nextcloud-server.git 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 --- 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) },