Ensure autoscreens use a specific component order to look better on older client versions
This commit is contained in:
parent
6127aca09f
commit
1e4fb27d7c
|
@ -139,8 +139,8 @@ const modal = ({ tableOrView, permissions, screens }) => {
|
|||
.customProps({ layout: "grid" })
|
||||
.role(permissions.write)
|
||||
.autoTableId(tableOrView.id)
|
||||
.addChild(buttonGroup)
|
||||
.addChild(heading)
|
||||
.addChild(buttonGroup)
|
||||
.addChild(tableBlock)
|
||||
.addChild(createRowModal)
|
||||
.addChild(detailsModal)
|
||||
|
|
|
@ -81,9 +81,9 @@ const getTableScreenTemplate = ({
|
|||
.customProps({ layout: gridLayout ? "grid" : "flex" })
|
||||
.role(permissions.write)
|
||||
.autoTableId(tableOrView.id)
|
||||
.addChild(tableBlock)
|
||||
.addChild(heading)
|
||||
.addChild(buttonGroup)
|
||||
.addChild(tableBlock)
|
||||
.json()
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue