@overmap-ai/core 1.0.38-component-fields.3 → 1.0.38-component-fields.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
|
@@ -5440,7 +5440,6 @@ class UserFormService extends BaseApiService {
|
|
|
5440
5440
|
const activeWorkspaceId = state.workspaceReducer.activeWorkspaceId;
|
|
5441
5441
|
const offlineFormPayload = offline({});
|
|
5442
5442
|
const offlineRevisionPayload = offline(initialRevision);
|
|
5443
|
-
console.log(componentType);
|
|
5444
5443
|
const retForm = {
|
|
5445
5444
|
...offlineFormPayload,
|
|
5446
5445
|
index_workspace: activeWorkspaceId,
|
|
@@ -5468,7 +5467,11 @@ class UserFormService extends BaseApiService {
|
|
|
5468
5467
|
queryParams: activeWorkspaceId ? {
|
|
5469
5468
|
workspace_id: activeWorkspaceId
|
|
5470
5469
|
} : void 0,
|
|
5471
|
-
payload: {
|
|
5470
|
+
payload: {
|
|
5471
|
+
...offlineFormPayload,
|
|
5472
|
+
...componentType && { component_type: componentType },
|
|
5473
|
+
initial_revision: payloadWithoutImage
|
|
5474
|
+
},
|
|
5472
5475
|
blockers: [],
|
|
5473
5476
|
blocks: [offlineFormPayload.offline_id, payloadWithoutImage.offline_id]
|
|
5474
5477
|
});
|