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 1140e41 commit 0daacbe
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 @@ -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)
},

Expand Down

0 comments on commit 0daacbe

Please sign in to comment.