@overmap-ai/core 1.0.38-component-fields.17 → 1.0.38-component-fields.18
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
|
@@ -5793,7 +5793,7 @@ class UserFormSubmissionService extends BaseApiService {
|
|
|
5793
5793
|
const promise = this.enqueueRequest({
|
|
5794
5794
|
description: "Patch form submission",
|
|
5795
5795
|
method: HttpMethod.PATCH,
|
|
5796
|
-
url: `/submissions/${submission.offline_id}/`,
|
|
5796
|
+
url: `/forms/submissions/${submission.offline_id}/`,
|
|
5797
5797
|
payload: payloadWithoutFiles,
|
|
5798
5798
|
blockers: [payloadWithoutFiles.issue, payloadWithoutFiles.component].filter(
|
|
5799
5799
|
(x) => x !== void 0
|
|
@@ -10364,7 +10364,7 @@ const FormRenderer = memo(
|
|
|
10364
10364
|
] }) }),
|
|
10365
10365
|
inputs,
|
|
10366
10366
|
!readonly && /* @__PURE__ */ jsxs(Flex, { className: styles$6.floatingButtonContainer, align: "center", justify: "end", gap: "2", children: [
|
|
10367
|
-
cancelText && /* @__PURE__ */ jsx(Button, { type: "button", variant: "solid", onClick: onCancel, children: cancelText }),
|
|
10367
|
+
cancelText && /* @__PURE__ */ jsx(Button, { type: "button", variant: "solid", severity: "info", onClick: onCancel, children: cancelText }),
|
|
10368
10368
|
/* @__PURE__ */ jsx(Button, { type: "submit", disabled: !formik.isValid, children: submitText })
|
|
10369
10369
|
] })
|
|
10370
10370
|
] }) }) });
|