From 64dc580676b9e6da08580022112e8c16ec9f0341 Mon Sep 17 00:00:00 2001 From: fenn-cs Date: Wed, 30 Oct 2024 14:49:43 +0100 Subject: [PATCH] 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 --- apps/files_sharing/src/views/SharingLinkList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/src/views/SharingLinkList.vue b/apps/files_sharing/src/views/SharingLinkList.vue index b10f41eaa152a..cba5d81834b4c 100644 --- a/apps/files_sharing/src/views/SharingLinkList.vue +++ b/apps/files_sharing/src/views/SharingLinkList.vue @@ -101,7 +101,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) },