impaktapps-ui-builder 0.0.101-alpha.56 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.101-alpha.56",
3
+ "version": "0.0.101-alpha.58",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -159,8 +159,14 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
159
159
 
160
160
  const pathArrayAll = path.split(".");
161
161
 
162
- const breadPathArray = pathArrayAll.reduce((elem, i)=>{
163
- const currObj = _.get(currentConfig, elem)
162
+ const breadPathArray = pathArrayAll.reduce((currPath, elem, i)=>{
163
+ if(i === 0){
164
+ currPath = elem;
165
+ }
166
+ else{
167
+ currPath = currPath + "." + elem
168
+ }
169
+ const currObj = _.get(currentConfig, currPath)
164
170
  console.log("currObj>>",currObj, "index>>", i)
165
171
  },currentConfig)
166
172