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.
@@ -4334,7 +4334,7 @@ function getSide({
4334
4334
  sideNumber
4335
4335
  }) {
4336
4336
  const assignment = positionAssignments.find(
4337
- (assignment2) => assignment2.drawPosition === drawPosition
4337
+ (assignment2) => assignment2.drawPosition && assignment2.drawPosition === drawPosition
4338
4338
  );
4339
4339
  const participantId = drawPositionCollectionAssignment ? drawPositionCollectionAssignment[drawPosition]?.participantId : assignment?.participantId;
4340
4340
  const sideValue = assignment ? getSideValue({