@overmap-ai/core 1.0.38-component-fields.37 → 1.0.38-component-fields.38
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
|
@@ -5740,7 +5740,7 @@ class UserFormSubmissionService extends BaseApiService {
|
|
|
5740
5740
|
method: HttpMethod.POST,
|
|
5741
5741
|
url: `/forms/submission/${payload.offline_id}/attachments/`,
|
|
5742
5742
|
payload: submissionAttachmentPayload,
|
|
5743
|
-
blockers: [payload.component, payload.issue, payload.form_revision].filter(
|
|
5743
|
+
blockers: [payload.component, payload.component_stage, payload.issue, payload.form_revision].filter(
|
|
5744
5744
|
(x) => x !== void 0
|
|
5745
5745
|
),
|
|
5746
5746
|
blocks: [submissionAttachmentPayload.offline_id]
|
|
@@ -5769,7 +5769,9 @@ class UserFormSubmissionService extends BaseApiService {
|
|
|
5769
5769
|
method: HttpMethod.POST,
|
|
5770
5770
|
url: `/forms/revisions/${payload.form_revision}/respond/`,
|
|
5771
5771
|
payload: { ...payloadWithoutFiles, project: activeProjectId },
|
|
5772
|
-
blockers: [payload.issue, payload.component].filter(
|
|
5772
|
+
blockers: [payload.issue, payload.component, payload.component_stage].filter(
|
|
5773
|
+
(x) => x !== void 0
|
|
5774
|
+
),
|
|
5773
5775
|
blocks: [payload.offline_id]
|
|
5774
5776
|
});
|
|
5775
5777
|
const attachFilesPromises = this.getAttachFilesPromises(files, payload);
|
|
@@ -5811,7 +5813,9 @@ class UserFormSubmissionService extends BaseApiService {
|
|
|
5811
5813
|
method: HttpMethod.PATCH,
|
|
5812
5814
|
url: `/forms/submissions/${submission.offline_id}/`,
|
|
5813
5815
|
payload: fullResult,
|
|
5814
|
-
blockers: [fullResult.issue, fullResult.component].filter(
|
|
5816
|
+
blockers: [fullResult.issue, fullResult.component, fullResult.component_stage].filter(
|
|
5817
|
+
(x) => x !== void 0
|
|
5818
|
+
),
|
|
5815
5819
|
blocks: [fullResult.offline_id]
|
|
5816
5820
|
});
|
|
5817
5821
|
return Promise.all([promise, ...attachFilesPromises]).then(() => promise);
|