tods-competition-factory 1.8.35 → 1.8.36

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.
@@ -12356,12 +12356,11 @@ function getParticipantEntries(params) {
12356
12356
  const targetParticipantIds = participantFilters?.participantIds;
12357
12357
  const getRelevantParticipantIds = (participantId) => {
12358
12358
  const relevantParticipantIds = [participantId];
12359
- relevantParticipantIds.push(participantId);
12360
12359
  participantMap[participantId]?.participant.individualParticipantIds?.forEach(
12361
12360
  (individualParticiapntId) => relevantParticipantIds.push(individualParticiapntId)
12362
12361
  );
12363
12362
  return relevantParticipantIds.some(
12364
- (obj) => !targetParticipantIds?.length || targetParticipantIds.includes(obj.relevantParticipantId)
12363
+ (id) => !targetParticipantIds?.length || targetParticipantIds.includes(id)
12365
12364
  ) ? relevantParticipantIds : [];
12366
12365
  };
12367
12366
  const withOpts = {