Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Change nullish check to falsey check for collection track times #3884

Merged
merged 1 commit into from
Aug 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function* getCollectionTracks() {

const trackIds = tracks.map((t) => t.track)
// TODO: Conform all timestamps to be of the same format so we don't have to do any special work here.
const times = tracks.map((t) => t.metadata_time ?? t.time)
const times = tracks.map((t) => t.metadata_time || t.time)

// Reconcile fetching this playlist with the queue.
// Search the queue for its currently playing uids. If any are sourced
Expand Down