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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
nfebe authored and nextcloud-command committed Oct 31, 2024
1 parent 98a66e2 commit 454ac36
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
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 @@ -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)
},

Expand Down
1 change: 0 additions & 1 deletion dist/3154-3154.js.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/3154-3154.js.map.license

This file was deleted.

4 changes: 2 additions & 2 deletions dist/3154-3154.js → dist/9141-9141.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/9141-9141.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/9141-9141.js.map.license
4 changes: 2 additions & 2 deletions dist/files_sharing-files_sharing_tab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files_sharing-files_sharing_tab.js.map

Large diffs are not rendered by default.

0 comments on commit 454ac36

Please sign in to comment.