fix(front): resolve merging bug that breaks queue reordering
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2424>
This commit is contained in:
parent
2b250e68ea
commit
0c5ad37ab2
|
@ -253,9 +253,6 @@ export const useQueue = createGlobalState(() => {
|
|||
? shuffledIds
|
||||
: tracks
|
||||
|
||||
const [id] = list.value.splice(from, 1)
|
||||
list.value.splice(to, 0, id)
|
||||
|
||||
const current = currentIndex.value
|
||||
|
||||
// NOTE: We're batching the changes to avoid reactivity issues related to the currentIndex being clamped at list length
|
||||
|
|
Loading…
Reference in New Issue