tods-competition-factory 0.90.3 → 0.90.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.
@@ -249,7 +249,7 @@ const matchUpFormatCode = {
249
249
  };
250
250
 
251
251
  function factoryVersion() {
252
- return '0.90.3';
252
+ return '0.90.4';
253
253
  }
254
254
 
255
255
  const FORMAT_STANDARD = 'SET3-S:6/TB7'; // Best of 3 Tiebreak Sets to 6
@@ -39448,6 +39448,7 @@ function isAvailableAction({
39448
39448
  function positionActions$1({
39449
39449
  policyDefinitions: specifiedPolicyDefinitions,
39450
39450
  tournamentParticipants = [],
39451
+ overrideAttachedPolicies,
39451
39452
  tournamentRecord,
39452
39453
  drawDefinition,
39453
39454
  drawPosition,
@@ -39488,7 +39489,7 @@ function positionActions$1({
39488
39489
  drawDefinition,
39489
39490
  event
39490
39491
  });
39491
- const policyDefinitions = specifiedPolicyDefinitions || attachedPolicyDefinitions;
39492
+ const policyDefinitions = overrideAttachedPolicies ? specifiedPolicyDefinitions : attachedPolicyDefinitions ? Object.assign(attachedPolicyDefinitions, specifiedPolicyDefinitions || {}) : specifiedPolicyDefinitions;
39492
39493
  const {
39493
39494
  enabledStructures,
39494
39495
  actionsDisabled