impaktapps-ui-builder 0.0.382-alpha.58 → 0.0.382-alpha.59
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
|
@@ -138,10 +138,10 @@ async function mergeFormdata(handlerResponse: any, componentName: string, eventC
|
|
|
138
138
|
|
|
139
139
|
let body;
|
|
140
140
|
|
|
141
|
-
if(handlerResponse.data instanceof
|
|
142
|
-
body = {...handlerResponse.data};
|
|
143
|
-
}else if(handlerResponse.data instanceof Array){
|
|
141
|
+
if(handlerResponse.data instanceof Array){
|
|
144
142
|
body = [...handlerResponse.data]
|
|
143
|
+
}else if(handlerResponse.data instanceof Object){
|
|
144
|
+
body = {...handlerResponse.data};
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
store.setFormdata((pre) => { return { ...pre, [componentName]: eventConfig.lazyLoading ? handlerResponse.data.data : body } });
|