tods-competition-factory 1.6.13 → 1.6.15

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.
@@ -5631,7 +5631,7 @@ function getSide({
5631
5631
  sideNumber
5632
5632
  }) {
5633
5633
  const assignment = positionAssignments.find(
5634
- (assignment2) => assignment2.drawPosition === drawPosition
5634
+ (assignment2) => assignment2.drawPosition && assignment2.drawPosition === drawPosition
5635
5635
  );
5636
5636
  const participantId = drawPositionCollectionAssignment ? drawPositionCollectionAssignment[drawPosition]?.participantId : assignment?.participantId;
5637
5637
  const sideValue = assignment ? getSideValue({