impaktapps-ui-builder 0.0.963-copyElement.1014 → 0.0.963-copyElement.1016

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.
@@ -8310,7 +8310,7 @@ const refreshPage = (type, store2) => {
8310
8310
  }
8311
8311
  if (sessionStorage.getItem("copiedConfig")) {
8312
8312
  const formData = JSON.parse(sessionStorage.getItem("copiedConfig"));
8313
- UiSchema.elements[4].elements[1].config.main.heading = `Copied Element: ${formData.name}`;
8313
+ UiSchema.elements[2].elements[1].config.main.heading = `Copied Element: ${formData.name}`;
8314
8314
  }
8315
8315
  store2.setUiSchema(UiSchema);
8316
8316
  };
@@ -8480,6 +8480,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8480
8480
  const schema2 = lodash.exports.cloneDeep(paramStore.schema);
8481
8481
  const uiSchema = lodash.exports.cloneDeep(paramStore.uiSchema);
8482
8482
  schema2.properties.RemoveItemButton.disabled = true;
8483
+ uiSchema.elements[2].elements[1].config.main.heading = `No element copied`;
8483
8484
  sessionStorage.removeItem("copiedConfig");
8484
8485
  store2.setSchema(schema2);
8485
8486
  store2.setUiSchema(uiSchema);