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
@@ -36,7 +36,7 @@ const queue = useQueueStore();
|
||||
const playlist = usePlaylistStore();
|
||||
|
||||
interface ScrollerItem {
|
||||
id: string;
|
||||
id: string | number;
|
||||
component: typeof Header | typeof SongItem;
|
||||
props: Record<string, unknown>;
|
||||
size: number;
|
||||
@@ -56,7 +56,7 @@ const scrollerItems = computed(() => {
|
||||
header,
|
||||
...playlist.tracks.map((track) => {
|
||||
return {
|
||||
id: track.trackid,
|
||||
id: Math.random(),
|
||||
component: SongItem,
|
||||
props: {
|
||||
track: track,
|
||||
|
||||
Reference in New Issue
Block a user