@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.
package/dist/overmap-core.js
CHANGED
|
@@ -2606,7 +2606,7 @@ const selectAttachedFormSubmissionsOfIssue = restructureCreateSelectorWithArgs(
|
|
|
2606
2606
|
)
|
|
2607
2607
|
);
|
|
2608
2608
|
return Object.values(submissions).filter(
|
|
2609
|
-
(submission) => !issueTypeFormRevisions.has(submission.form_revision)
|
|
2609
|
+
(submission) => submission.issue === issueId && !issueTypeFormRevisions.has(submission.form_revision)
|
|
2610
2610
|
);
|
|
2611
2611
|
}
|
|
2612
2612
|
)
|
|
@@ -2639,7 +2639,7 @@ const selectFormSubmissionsOfAsset = restructureCreateSelectorWithArgs(
|
|
|
2639
2639
|
}
|
|
2640
2640
|
)
|
|
2641
2641
|
);
|
|
2642
|
-
const
|
|
2642
|
+
const selectAttachedFormSubmissionsOfAsset = restructureCreateSelectorWithArgs(
|
|
2643
2643
|
createSelector(
|
|
2644
2644
|
[
|
|
2645
2645
|
(state) => state.assetReducer.instances,
|
|
@@ -2662,7 +2662,7 @@ const selectAttachedFormSubmissionsOfAssets = restructureCreateSelectorWithArgs(
|
|
|
2662
2662
|
)
|
|
2663
2663
|
);
|
|
2664
2664
|
return Object.values(submissions).filter(
|
|
2665
|
-
(submission) => !issueTypeFormRevisions.has(submission.form_revision)
|
|
2665
|
+
(submission) => submission.asset === assetId && !issueTypeFormRevisions.has(submission.form_revision)
|
|
2666
2666
|
);
|
|
2667
2667
|
}
|
|
2668
2668
|
)
|
|
@@ -7549,7 +7549,7 @@ export {
|
|
|
7549
7549
|
selectAssets,
|
|
7550
7550
|
selectAssetsMapping,
|
|
7551
7551
|
selectAssetsOfAssetType,
|
|
7552
|
-
|
|
7552
|
+
selectAttachedFormSubmissionsOfAsset,
|
|
7553
7553
|
selectAttachedFormSubmissionsOfIssue,
|
|
7554
7554
|
selectAttachmentsOfAsset,
|
|
7555
7555
|
selectAttachmentsOfAssetByType,
|