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:
Andrew Kingston 2024-08-21 16:43:18 +01:00 committed by GitHub
commit 1809750b19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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 {