Ensure we do not get undefineds from indexedDB
This commit is contained in:
parent
34d4f3b25b
commit
5616c9f066
|
@ -69,7 +69,7 @@ watchEffect(async () => {
|
|||
fetchingTracks.value = true
|
||||
try {
|
||||
const trackInfos: QueueTrack[] = await getMany([...addedIds])
|
||||
for (const track of trackInfos) {
|
||||
for (const track of trackInfos.filter(i => i)) {
|
||||
tracksById.set(track.id, track)
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in New Issue