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 <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
fenn-cs 2024-10-30 14:49:43 +01:00 committed by nextcloud-command
parent 98a66e289a
commit 454ac3651e
9 changed files with 8 additions and 8 deletions

View file

@ -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)
},

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
3154-3154.js.license

File diff suppressed because one or more lines are too long

1
dist/9141-9141.js.map vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/9141-9141.js.map.license vendored Symbolic link
View file

@ -0,0 +1 @@
9141-9141.js.license

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long