impaktapps-ui-builder 0.0.101-alpha.262 → 0.0.101-alpha.263

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.262",
3
+ "version": "0.0.101-alpha.263",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -370,15 +370,15 @@ const buildUiSchema = (config: any, store?: any) => {
370
370
  tableHeaderElements.push(headerElem);
371
371
  return false;
372
372
  }
373
-
374
- rowElements.push({
373
+ const tableElem = {
375
374
  widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store) : undefined,
376
375
  elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store)) : [],
377
376
  ...commonProperties
378
377
 
379
- })
378
+ }
379
+ rowElements.push(tableElem)
380
380
  } else {
381
- rowElements.push(commonProperties)
381
+ rowElements.push({ ...commonProperties })
382
382
  }
383
383
 
384
384
  })