impaktapps-ui-builder 0.0.101-alpha.33 → 0.0.101-alpha.34

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.
@@ -8445,10 +8445,12 @@ function refreshPage(type, store2) {
8445
8445
  const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
8446
8446
  const pathArrayAll = path.split(".");
8447
8447
  const parentObj = pathArrayAll.reduce((currObj, path2) => {
8448
+ var _a2;
8448
8449
  const currElemIndexWithBracket = path2.split("[")[1];
8449
8450
  const currElemIndex = parseInt(currElemIndexWithBracket.slice(0, -1));
8450
- return currObj["elements"][currElemIndex];
8451
- });
8451
+ console.log(currObj);
8452
+ return (_a2 = currObj == null ? void 0 : currObj["elements"]) == null ? void 0 : _a2[currElemIndex];
8453
+ }, UiSchema);
8452
8454
  console.log("parentObj", parentObj);
8453
8455
  if (sessionStorage.getItem("copiedConfig")) {
8454
8456
  this.ElementPathSetter(UiSchema);