@overmap-ai/core 1.0.62-store-clear-fixes.3 → 1.0.62-store-clear-fixes.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.
@@ -2594,7 +2594,7 @@ var __publicField = (obj, key, value) => {
2594
2594
  )
2595
2595
  );
2596
2596
  return Object.values(submissions).filter(
2597
- (submission) => !issueTypeFormRevisions.has(submission.form_revision)
2597
+ (submission) => submission.issue === issueId && !issueTypeFormRevisions.has(submission.form_revision)
2598
2598
  );
2599
2599
  }
2600
2600
  )
@@ -2627,7 +2627,7 @@ var __publicField = (obj, key, value) => {
2627
2627
  }
2628
2628
  )
2629
2629
  );
2630
- const selectAttachedFormSubmissionsOfAssets = restructureCreateSelectorWithArgs(
2630
+ const selectAttachedFormSubmissionsOfAsset = restructureCreateSelectorWithArgs(
2631
2631
  toolkit.createSelector(
2632
2632
  [
2633
2633
  (state) => state.assetReducer.instances,
@@ -2650,7 +2650,7 @@ var __publicField = (obj, key, value) => {
2650
2650
  )
2651
2651
  );
2652
2652
  return Object.values(submissions).filter(
2653
- (submission) => !issueTypeFormRevisions.has(submission.form_revision)
2653
+ (submission) => submission.asset === assetId && !issueTypeFormRevisions.has(submission.form_revision)
2654
2654
  );
2655
2655
  }
2656
2656
  )
@@ -7536,7 +7536,7 @@ var __publicField = (obj, key, value) => {
7536
7536
  exports2.selectAssets = selectAssets;
7537
7537
  exports2.selectAssetsMapping = selectAssetsMapping;
7538
7538
  exports2.selectAssetsOfAssetType = selectAssetsOfAssetType;
7539
- exports2.selectAttachedFormSubmissionsOfAssets = selectAttachedFormSubmissionsOfAssets;
7539
+ exports2.selectAttachedFormSubmissionsOfAsset = selectAttachedFormSubmissionsOfAsset;
7540
7540
  exports2.selectAttachedFormSubmissionsOfIssue = selectAttachedFormSubmissionsOfIssue;
7541
7541
  exports2.selectAttachmentsOfAsset = selectAttachmentsOfAsset;
7542
7542
  exports2.selectAttachmentsOfAssetByType = selectAttachmentsOfAssetByType;