impaktapps-ui-builder 0.0.101-alpha.57 → 0.0.101-alpha.58

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.
@@ -8524,8 +8524,13 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8524
8524
  const currentConfig = JSON.parse(sessionStorage.getItem("pageFormdata"));
8525
8525
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8526
8526
  const pathArrayAll = path.split(".");
8527
- pathArrayAll.reduce((ongoingArray, elem, i) => {
8528
- const currObj = _.get(currentConfig, elem);
8527
+ pathArrayAll.reduce((currPath, elem, i) => {
8528
+ if (i === 0) {
8529
+ currPath = elem;
8530
+ } else {
8531
+ currPath = currPath + "." + elem;
8532
+ }
8533
+ const currObj = _.get(currentConfig, currPath);
8529
8534
  console.log("currObj>>", currObj, "index>>", i);
8530
8535
  }, currentConfig);
8531
8536
  return schema2;