tods-competition-factory 1.7.2 → 1.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4445,7 +4445,7 @@ function getRoundMatchUps({
4445
4445
  roundProfile[roundNumber].finishingRound = finishingRoundMap[roundNumber]?.finishingRound;
4446
4446
  roundProfile[roundNumber].roundName = finishingRoundMap[roundNumber]?.roundName;
4447
4447
  roundProfile[roundNumber].abbreviatedRoundName = finishingRoundMap[roundNumber]?.abbreviatedRoundName;
4448
- roundProfile[roundNumber].finishingPositionRange = roundMatchUps[roundNumber][0].finishingPositionRange;
4448
+ roundProfile[roundNumber].finishingPositionRange = roundMatchUps[roundNumber]?.[0]?.finishingPositionRange;
4449
4449
  if (roundNumber === 1 || !roundProfile[roundNumber - 1]) {
4450
4450
  const orderedDrawPositions = currentRoundDrawPositions.sort(numericSort);
4451
4451
  const pairedDrawPositions = chunkArray(orderedDrawPositions, 2);