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.
package/package.json
CHANGED
|
@@ -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((
|
|
163
|
-
|
|
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
|
|