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" })
|
.customProps({ layout: "grid" })
|
||||||
.role(permissions.write)
|
.role(permissions.write)
|
||||||
.autoTableId(tableOrView.id)
|
.autoTableId(tableOrView.id)
|
||||||
.addChild(buttonGroup)
|
|
||||||
.addChild(heading)
|
.addChild(heading)
|
||||||
|
.addChild(buttonGroup)
|
||||||
.addChild(tableBlock)
|
.addChild(tableBlock)
|
||||||
.addChild(createRowModal)
|
.addChild(createRowModal)
|
||||||
.addChild(detailsModal)
|
.addChild(detailsModal)
|
||||||
|
|
|
@ -81,9 +81,9 @@ const getTableScreenTemplate = ({
|
||||||
.customProps({ layout: gridLayout ? "grid" : "flex" })
|
.customProps({ layout: gridLayout ? "grid" : "flex" })
|
||||||
.role(permissions.write)
|
.role(permissions.write)
|
||||||
.autoTableId(tableOrView.id)
|
.autoTableId(tableOrView.id)
|
||||||
.addChild(tableBlock)
|
|
||||||
.addChild(heading)
|
.addChild(heading)
|
||||||
.addChild(buttonGroup)
|
.addChild(buttonGroup)
|
||||||
|
.addChild(tableBlock)
|
||||||
.json()
|
.json()
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue