Skip to content

Commit 46c33eb

Browse files
authored
Change nullish check to falsey check for collection track times (#3884)
1 parent b773045 commit 46c33eb

File tree

1 file changed

+1
-1
lines changed
  • packages/web/src/common/store/pages/collection/lineups

1 file changed

+1
-1
lines changed

packages/web/src/common/store/pages/collection/lineups/sagas.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function* getCollectionTracks() {
3838

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

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

0 commit comments

Comments
 (0)