impaktapps-ui-builder 0.0.963-copyElement.1000 → 0.0.963-copyElement.1001

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.
@@ -8316,7 +8316,7 @@ const refreshPage = (type, store2) => {
8316
8316
  }
8317
8317
  if (sessionStorage.getItem("copiedConfig")) {
8318
8318
  const formData = JSON.parse(sessionStorage.getItem("copiedConfig"));
8319
- UiSchema.elements[4].element[1].config.main.heading = `Copied Element: ${formData.name}`;
8319
+ UiSchema.elements[4].elements[1].config.main.heading = `Copied Element: ${formData.name}`;
8320
8320
  }
8321
8321
  store2.setUiSchema(UiSchema);
8322
8322
  };
@@ -8524,7 +8524,7 @@ var pageMaster = (funcParams) => {
8524
8524
  const UiSchema = _.cloneDeep(PageMasterUiSchema(store2.theme.myTheme));
8525
8525
  if (sessionStorage.getItem("copiedConfig")) {
8526
8526
  const formData = JSON.parse(sessionStorage.getItem("copiedConfig"));
8527
- UiSchema.elements[2].element[1].config.main.heading = `Copied Element: ${formData.name}`;
8527
+ UiSchema.elements[2].elements[1].config.main.heading = `Copied Element: ${formData.name}`;
8528
8528
  }
8529
8529
  return UiSchema;
8530
8530
  },