impaktapps-ui-builder 0.0.101-alpha.75 → 0.0.101-alpha.76

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.75",
3
+ "version": "0.0.101-alpha.76",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -172,7 +172,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
172
172
  const path = store.searchParams?.get("path");
173
173
  const id = store.searchParams?.get("id")
174
174
 
175
- let pathArray = [{label: config.name, path: `/PageMaster${id ? `?id=${id}` : ''}`}];
175
+ let pathArray = [{label: config.name ?? "NewPage", path: `/PageMaster${id ? `?id=${id}` : ''}`}];
176
176
 
177
177
  if (path) {
178
178
  const pathArrayAll = path.split(".");
@@ -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: `/PageMaster${id ? `?id=${id}` : ''}`}];
134
+ let pathArray = [{label: config.name ?? "NewPage", path: `/PageMaster${id ? `?id=${id}` : ''}`}];
135
135
 
136
136
  if (path) {
137
137
  const pathArrayAll = path.split(".");
@@ -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: `/PageMaster${id ? `?id=${id}` : ''}`}];
176
+ let pathArray = [{label: config.name ?? "NewPage", path: `/PageMaster${id ? `?id=${id}` : ''}`}];
177
177
 
178
178
  if (path) {
179
179
  const pathArrayAll = path.split(".");
@@ -26,7 +26,7 @@ export const getNavigationHistory = (config: any, path: string | undefined) => {
26
26
  }
27
27
 
28
28
  })
29
- return { pageName: urlRoutes ?? "NewPage" }
29
+ return { pageName: urlRoutes }
30
30
  }
31
31
  return undefined;
32
32
  }