Skip to content

Commit

Permalink
Merge branch 'pregap' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
kepstin committed Aug 17, 2021
2 parents 9750a83 + e75a80d commit 42c1146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@
// Invert the isrcs structure to be a map of isrcs per mbid
let recordingISRCMap = {};
for (const [i, isrc] of pregapISRCs.entries()) {
if (!isrc.isrc || isrc.invalid) { continue; }
if (!isrc || !isrc.isrc || isrc.invalid) { continue; }

const mbid = currentRelease.media[i].pregap.recording.id;
if (!recordingISRCMap[mbid]) { recordingISRCMap[mbid] = []; }
Expand Down

0 comments on commit 42c1146

Please sign in to comment.