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 <[email protected]>

[skip ci]
  • Loading branch information
nfebe authored and backportbot[bot] committed Oct 30, 2024
1 parent 1796b82 commit 1b4ab5d
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 1b4ab5d

Please sign in to comment.