Skip to content

Commit

Permalink
fix(ShareEntryLinkList): Append new links to the end of list
Browse files Browse the repository at this point in the history
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 : #48415

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
  • Loading branch information
nfebe committed Oct 30, 2024
1 parent f0bc87c commit 3d4ac5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_sharing/src/views/SharingLinkList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},

Expand Down

0 comments on commit 3d4ac5d

Please sign in to comment.