mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-08 02:17:25 +02:00
fix(ui): favourite button disabled after queue ends - #5560
This commit is contained in:
parent
e329783112
commit
a33a42780f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue