Merge pull request #14429 from Budibase/autoscreen-legacy-compat
Ensure autoscreens use a specific component order to look better on old clients
This commit is contained in:
commit
1809750b19
|
@ -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