impaktapps-ui-builder 0.0.963-copyElement.1012 → 0.0.963-copyElement.1013

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.
@@ -8330,7 +8330,11 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8330
8330
  return getFormdataFromSessionStorage(path);
8331
8331
  },
8332
8332
  getSchema: function() {
8333
- return ComponentSchema;
8333
+ const schema2 = _.cloneDeep(ComponentSchema);
8334
+ if (sessionStorage.getItem("copiedConfig")) {
8335
+ schema2.properties.RemoveItemButton.disabled = false;
8336
+ }
8337
+ return schema2;
8334
8338
  },
8335
8339
  okHandler: () => okHandler(store2),
8336
8340
  saveHandler: async () => await saveHandler(store2, service2, submitHandler, "PageMaster"),
@@ -8532,7 +8536,11 @@ var pageMaster = (funcParams) => {
8532
8536
  return UiSchema;
8533
8537
  },
8534
8538
  getSchema: () => {
8535
- return PageMasterSchema;
8539
+ const schema2 = _.cloneDeep(PageMasterSchema);
8540
+ if (sessionStorage.getItem("copiedConfig")) {
8541
+ schema2.properties.RemoveItemButton.disabled = false;
8542
+ }
8543
+ return schema2;
8536
8544
  },
8537
8545
  backHandler: () => {
8538
8546
  sessionStorage.removeItem("pageFormdata");