mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 04:23:01 +00:00
update interfaces to use the updated property names
+ misc changes related to moving to sqlite
This commit is contained in:
committed by
Mungai Njoroge
parent
881adc0f88
commit
f3c4f0310a
@@ -5,8 +5,8 @@ export default function createTrackProps(track: Track) {
|
||||
return {
|
||||
track,
|
||||
index: track.index + 1,
|
||||
isCurrent: queue().currentid === track.trackid,
|
||||
isCurrent: queue().currentid === track.id,
|
||||
isCurrentPlaying:
|
||||
queue().currentid === track.trackid && queue().playing,
|
||||
queue().currentid === track.id && queue().playing,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user