impaktapps-ui-builder 0.0.963-copyElement.1020 → 0.0.963-copyElement.1021

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.
@@ -8431,9 +8431,9 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8431
8431
  store2.updateDialog("popUpEventSection");
8432
8432
  },
8433
8433
  copyPasteElement: function(paramStore, setPage = this.setPage.bind(this)) {
8434
- const path = dynamicData2.path.split(".")[2];
8435
- const actionType = path.split("_")[0];
8436
- const elementType = path.split("_")[1];
8434
+ const path = dynamicData2.path.split(".").pop();
8435
+ const actionType = path == null ? void 0 : path.split("_")[0];
8436
+ const elementType = path == null ? void 0 : path.split("_")[1];
8437
8437
  if (actionType === "Copy") {
8438
8438
  this.CopyElement(paramStore, elementType);
8439
8439
  } else {