impaktapps-ui-builder 0.0.963-CopyComponent.10 → 0.0.963-CopyComponent.11

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.
@@ -8344,7 +8344,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8344
8344
  const parentPathOfCopiedComponent = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8345
8345
  const copiedComponentPath = parentPathOfCopiedComponent ? `${parentPathOfCopiedComponent}.elements[${rowId}]` : `elements[${rowId}]`;
8346
8346
  const formData = getFormdataFromSessionStorage(copiedComponentPath);
8347
- uiSchema.elements[5].config.main.heading = formData.name;
8347
+ uiSchema.elements[4].config.main.heading = formData.name;
8348
8348
  sessionStorage.setItem("copiedConfig", JSON.stringify(formData));
8349
8349
  store2.setUiSchema(uiSchema);
8350
8350
  },