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.
package/dist/index.mjs CHANGED
@@ -329,7 +329,7 @@ const matchUpFormatCode = {
329
329
  };
330
330
 
331
331
  function factoryVersion() {
332
- return "1.6.13";
332
+ return "1.6.15";
333
333
  }
334
334
 
335
335
  function getObjectTieFormat(obj) {
@@ -7653,7 +7653,7 @@ function getSide({
7653
7653
  sideNumber
7654
7654
  }) {
7655
7655
  const assignment = positionAssignments.find(
7656
- (assignment2) => assignment2.drawPosition === drawPosition
7656
+ (assignment2) => assignment2.drawPosition && assignment2.drawPosition === drawPosition
7657
7657
  );
7658
7658
  const participantId = drawPositionCollectionAssignment ? drawPositionCollectionAssignment[drawPosition]?.participantId : assignment?.participantId;
7659
7659
  const sideValue = assignment ? getSideValue$1({