fix removing tracks from queue

This commit is contained in:
geoffrey45
2022-10-08 19:32:29 +03:00
committed by Mungai Njoroge
parent bb66ba70b3
commit a496d68439
9 changed files with 71 additions and 47 deletions
+2 -2
View File
@@ -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,