impaktapps-ui-builder 0.0.101-alpha.44 → 0.0.101-alpha.45

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.
@@ -8441,7 +8441,9 @@ function refreshPage(type, store2) {
8441
8441
  UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8442
8442
  }
8443
8443
  const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
8444
- const parentObj = _.get(currentConfig, path);
8444
+ const lastDotIndex = path.lastIndexOf(".");
8445
+ const parentPath = path.slice(0, lastDotIndex);
8446
+ const parentObj = _.get(currentConfig, parentPath);
8445
8447
  console.log("currentConfig", currentConfig);
8446
8448
  console.log("path", path);
8447
8449
  console.log("parentObj", parentObj);