impaktapps-ui-builder 0.0.343 → 0.0.344

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.343",
3
+ "version": "0.0.344",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -97,7 +97,8 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
97
97
  },
98
98
  savePageHandler: async () => {
99
99
  const id = store.searchParams?.get("id");
100
- saveFormdataInLocalStorage(store.ctx.core.data);
100
+ const path = store.searchParams?.get("path");
101
+ saveFormdataInLocalStorage(store.ctx.core.data, path);
101
102
  const config = localStorage.getItem("pageFormdata");
102
103
  const isSubmitted = await saveHandler(store, service, submitHandler,config);
103
104
  if (isSubmitted) {
@@ -60,7 +60,8 @@ export default (
60
60
  },
61
61
  savePageHandler: async () => {
62
62
  const id = store.searchParams?.get("id");
63
- saveFormdataInLocalStorage(store.ctx.core.data);
63
+ const path = store.searchParams?.get("path");
64
+ saveFormdataInLocalStorage(store.ctx.core.data,path);
64
65
  const config = localStorage.getItem("pageFormdata");
65
66
  const isSubmitted = await saveHandler(store, service, submitHandler,config);
66
67
  if (isSubmitted) {