mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
fix removing tracks from queue
This commit is contained in:
committed by
Mungai Njoroge
parent
bb66ba70b3
commit
a496d68439
@@ -5,8 +5,8 @@ export default function createTrackProps(track: Track) {
|
||||
return {
|
||||
track,
|
||||
index: track.index + 1,
|
||||
isCurrent: queue().currenttrack?.hash === track.hash,
|
||||
isCurrent: queue().currentid === track.trackid,
|
||||
isCurrentPlaying:
|
||||
queue().currenttrack?.hash === track.hash && queue().playing,
|
||||
queue().currentid === track.trackid && queue().playing,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user