impaktapps-ui-builder 0.0.412-a → 0.0.412-b

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.412a",
3
+ "version": "0.0.412b",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -103,7 +103,8 @@ export function executeRefreshHandler(params: handlersProps) {
103
103
  return executeEvents({ ...params, config: compEventConfig, componentName });
104
104
  }));
105
105
  })).then(() => {
106
- params.store.setFormdata(params.store.ctx.core.data)
106
+ const updatedData = _.cloneDeep(params.store.ctx.core.data)
107
+ params.store.setFormdata(updatedData)
107
108
  })
108
109
  };
109
110
  export function executeApiRequest(params: any) {
@@ -185,7 +185,8 @@ export default (funcParams: funcParamsProps) => {
185
185
  }
186
186
  }
187
187
  })).then((res) => {
188
- funcParams.store.setFormdata(funcParams.store.ctx.core.data)
188
+ const updatedData = _.cloneDeep(funcParams.store.ctx.core.data)
189
+ funcParams.store.setFormdata(updatedData)
189
190
  })
190
191
  }
191
192
  },
@@ -242,7 +243,8 @@ export default (funcParams: funcParamsProps) => {
242
243
  componentName: path
243
244
  })
244
245
  })).then((res) => {
245
- funcParams.store.setFormdata(funcParams.store.ctx.core.data)
246
+ const updatedData = _.cloneDeep(funcParams.store.ctx.core.data)
247
+ funcParams.store.setFormdata(updatedData)
246
248
  })
247
249
 
248
250
  }