impaktapps-ui-builder 0.0.101-alpha.51 → 0.0.101-alpha.53

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.51",
3
+ "version": "0.0.101-alpha.53",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -337,6 +337,9 @@ export const ComponentSchema: any = {
337
337
  { title: "Info", const: "info" },
338
338
  ]
339
339
  },
340
+ pageName: {
341
+ path: []
342
+ },
340
343
  name: {
341
344
  type: "string",
342
345
  },
@@ -161,7 +161,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
161
161
  const currPath = path.slice(lastDotIndex+1)
162
162
 
163
163
  const currObj = _.get(currentConfig, currPath)
164
- schema.properties.pageName.path.add({label: currObj.config.main.label || "undefined", path: path})
164
+ schema.properties.pageName.path.add({label: currObj?.config?.main?.label || "undefined", path: path})
165
165
  return schema;
166
166
  },
167
167
  okHandler: () => okHandler(store),