@overmap-ai/core 1.0.62-store-clear-fixes.3 → 1.0.62-store-clear-fixes.5
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
|
)
|
|
@@ -5782,7 +5782,7 @@ class FormService extends BaseApiService {
|
|
|
5782
5782
|
});
|
|
5783
5783
|
for (const form of assetTypeFormsResult.forms)
|
|
5784
5784
|
forms.push(form);
|
|
5785
|
-
for (const revision of assetTypeFormsResult.
|
|
5785
|
+
for (const revision of assetTypeFormsResult.revisions)
|
|
5786
5786
|
revisions.push(revision);
|
|
5787
5787
|
for (const attachment of assetTypeFormsResult.attachments)
|
|
5788
5788
|
attachments.push(attachment);
|
|
@@ -5795,7 +5795,7 @@ class FormService extends BaseApiService {
|
|
|
5795
5795
|
});
|
|
5796
5796
|
for (const form of issueTypeFormsResult.forms)
|
|
5797
5797
|
forms.push(form);
|
|
5798
|
-
for (const revision of issueTypeFormsResult.
|
|
5798
|
+
for (const revision of issueTypeFormsResult.revisions)
|
|
5799
5799
|
revisions.push(revision);
|
|
5800
5800
|
for (const attachment of issueTypeFormsResult.attachments)
|
|
5801
5801
|
attachments.push(attachment);
|
|
@@ -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,
|