impaktapps-ui-builder 0.0.344 → 0.0.346

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.344",
3
+ "version": "0.0.346",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -99,7 +99,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
99
99
  const id = store.searchParams?.get("id");
100
100
  const path = store.searchParams?.get("path");
101
101
  saveFormdataInLocalStorage(store.ctx.core.data, path);
102
- const config = localStorage.getItem("pageFormdata");
102
+ const config = JSON.parse(localStorage.getItem("pageFormdata"));
103
103
  const isSubmitted = await saveHandler(store, service, submitHandler,config);
104
104
  if (isSubmitted) {
105
105
  localStorage.removeItem("pageFormdata");
@@ -62,7 +62,7 @@ export default (
62
62
  const id = store.searchParams?.get("id");
63
63
  const path = store.searchParams?.get("path");
64
64
  saveFormdataInLocalStorage(store.ctx.core.data,path);
65
- const config = localStorage.getItem("pageFormdata");
65
+ const config = JSON.parse(localStorage.getItem("pageFormdata"));
66
66
  const isSubmitted = await saveHandler(store, service, submitHandler,config);
67
67
  if (isSubmitted) {
68
68
  localStorage.removeItem("pageFormdata");
@@ -67,7 +67,7 @@ export default (funcParams: funcParamsProps) => {
67
67
  },
68
68
  savePageHandler: async () => {
69
69
  saveFormdataInLocalStorage(store.ctx.core.data);
70
- const config = localStorage.getItem("pageFormdata");
70
+ const config = JSON.parse(localStorage.getItem("pageFormdata"));
71
71
  const isSubmitted = await saveHandler(store, service, submitHandler,config);
72
72
  if (isSubmitted) {
73
73
  localStorage.removeItem("pageFormdata");