diff --git a/front/src/components/Queue.vue b/front/src/components/Queue.vue index 023563feb..95edf14e1 100644 --- a/front/src/components/Queue.vue +++ b/front/src/components/Queue.vue @@ -354,7 +354,7 @@ if (!isWebGLSupported) { >
diff --git a/front/src/composables/audio/tracks.ts b/front/src/composables/audio/tracks.ts index a765f8a2f..5490ee591 100644 --- a/front/src/composables/audio/tracks.ts +++ b/front/src/composables/audio/tracks.ts @@ -128,8 +128,10 @@ export const useTracks = createGlobalState(() => { soundCache.get(currentTrack.value.id) } + // Add track to the sound cache and remove from the promise cache soundCache.set(track.id, sound) soundPromises.delete(track.id) + return sound }