fix(PlayQueueItem): set queueReplaceLock to true before removing item from queue

This commit is contained in:
Astrian Zheng 2025-05-27 21:13:25 +10:00
parent 8eee570200
commit cf158c5d73
Signed by: Astrian
SSH Key Fingerprint: SHA256:rVnhx3DAKjujCwWE13aDl7uV6+9U1MvydLkNRXJrBiA

View File

@ -19,6 +19,8 @@ const playQueueStore = usePlayQueueStore()
const hover = ref(false) const hover = ref(false)
function removeItem() { function removeItem() {
playQueueStore.queueReplaceLock = true
const queue = [...playQueueStore.list] const queue = [...playQueueStore.list]
if (!playQueueStore.playMode.shuffle) { if (!playQueueStore.playMode.shuffle) {