mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-18 07:30:29 +00:00
Merge a33a42780f0335596cb58d2b2bf22d60d3afc7da into be201a2d7972d9580bef5533bfcb8bc49a2675d2
This commit is contained in:
commit
f5b6e4c7ac
@ -182,7 +182,7 @@ const reduceSyncQueue = (state, { data: { audioInfo, audioLists } }) => {
|
||||
}
|
||||
|
||||
const reduceCurrent = (state, { data }) => {
|
||||
const current = data.ended ? {} : data
|
||||
const current = data.ended ? { ...data, paused: true } : data
|
||||
const savedPlayIndex = state.queue.findIndex(
|
||||
(item) => item.uuid === current.uuid,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user