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.
@@ -6848,7 +6848,7 @@ function getSide({
6848
6848
  sideNumber
6849
6849
  }) {
6850
6850
  const assignment = positionAssignments.find(
6851
- (assignment2) => assignment2.drawPosition === drawPosition
6851
+ (assignment2) => assignment2.drawPosition && assignment2.drawPosition === drawPosition
6852
6852
  );
6853
6853
  const participantId = drawPositionCollectionAssignment ? drawPositionCollectionAssignment[drawPosition]?.participantId : assignment?.participantId;
6854
6854
  const sideValue = assignment ? getSideValue({