impaktapps-ui-builder 0.0.101-alpha.70 → 0.0.101-alpha.72

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.101-alpha.70",
3
+ "version": "0.0.101-alpha.72",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -158,7 +158,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
158
158
  const path = store.searchParams?.get("path");
159
159
  const id = store.searchParams?.get("id")
160
160
 
161
- let pathArray = [{label: config.name, path: `/ComponentEvents?id=${id}`}];
161
+ let pathArray = [{label: config.name, path: `/PageMaster${id ? `?id=${id}` : ''}`}];
162
162
 
163
163
  if (path) {
164
164
  const pathArrayAll = path.split(".");
@@ -176,7 +176,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
176
176
  const data = _.get(config, e)
177
177
  pathArray.push({
178
178
  label: data?.name || data?.eventType || "NewComponent",
179
- path: `/Component?path=${e}&id=${id}`
179
+ path: `/Component?path=${e}${id ? `&id=${id}` : ''}`
180
180
  });
181
181
  })
182
182
  }
@@ -131,7 +131,7 @@ export default (
131
131
  const path = store.searchParams?.get("path");
132
132
  const id = store.searchParams?.get("id");
133
133
 
134
- let pathArray = [{label: config.name, path: `/ComponentEvents?id=${id}`}];
134
+ let pathArray = [{label: config.name, path: `/PageMaster${id ? `?id=${id}` : ''}`}];
135
135
 
136
136
  if (path) {
137
137
  const pathArrayAll = path.split(".");
@@ -148,7 +148,7 @@ export default (
148
148
  const data = _.get(config, e);
149
149
  pathArray.push({
150
150
  label: data?.name || data?.eventType || "NewComponent",
151
- path: data?.eventType ? `/ComponentEvents?path=${e}&id=${id}` : `/Component?path=${e}&id=${id}`,
151
+ path: data?.eventType ? `/ComponentEvents?path=${e}${id ? `&id=${id}` : ''}` : `/Component?path=${e}${id ? `&id=${id}` : ''}`,
152
152
  });
153
153
  });
154
154
  }
@@ -173,7 +173,7 @@ export default (
173
173
  const path = store.searchParams?.get("path");
174
174
  const id = store.searchParams?.get("id");
175
175
 
176
- let pathArray = [{label: config.name, path: `/ComponentEvents?id=${id}`}];
176
+ let pathArray = [{label: config.name, path: `/PageMaster${id ? `?id=${id}` : ''}`}];
177
177
 
178
178
  if (path) {
179
179
  const pathArrayAll = path.split(".");
@@ -190,7 +190,7 @@ export default (
190
190
  const data = _.get(config, e);
191
191
  pathArray.push({
192
192
  label: data?.name || data?.eventType || "NewComponent",
193
- path: data?.eventType ? `/ComponentEvents?path=${e}&id=${id}` : `/Component?path=${e}&id=${id}`,
193
+ path: data?.eventType ? `/ComponentEvents?path=${e}${id ? `&id=${id}` : ''}` : `/Component?path=${e}${id ? `&id=${id}` : ''}`,
194
194
  });
195
195
  });
196
196
  }