@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.
@@ -5436,7 +5436,6 @@ var __publicField = (obj, key, value) => {
5436
5436
  const activeWorkspaceId = state.workspaceReducer.activeWorkspaceId;
5437
5437
  const offlineFormPayload = offline({});
5438
5438
  const offlineRevisionPayload = offline(initialRevision);
5439
- console.log(componentType);
5440
5439
  const retForm = {
5441
5440
  ...offlineFormPayload,
5442
5441
  index_workspace: activeWorkspaceId,
@@ -5464,7 +5463,11 @@ var __publicField = (obj, key, value) => {
5464
5463
  queryParams: activeWorkspaceId ? {
5465
5464
  workspace_id: activeWorkspaceId
5466
5465
  } : void 0,
5467
- payload: { ...offlineFormPayload, initial_revision: payloadWithoutImage },
5466
+ payload: {
5467
+ ...offlineFormPayload,
5468
+ ...componentType && { component_type: componentType },
5469
+ initial_revision: payloadWithoutImage
5470
+ },
5468
5471
  blockers: [],
5469
5472
  blocks: [offlineFormPayload.offline_id, payloadWithoutImage.offline_id]
5470
5473
  });