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:
Kasper Seweryn 2023-05-15 09:32:11 +00:00
parent 2b250e68ea
commit 0c5ad37ab2
1 changed files with 0 additions and 3 deletions

View File

@ -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