diff --git a/packages/builder/src/templates/screenTemplating/table/modal.js b/packages/builder/src/templates/screenTemplating/table/modal.js index 0dede08711..caf1582fbb 100644 --- a/packages/builder/src/templates/screenTemplating/table/modal.js +++ b/packages/builder/src/templates/screenTemplating/table/modal.js @@ -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) diff --git a/packages/builder/src/templates/screenTemplating/table/newScreen.js b/packages/builder/src/templates/screenTemplating/table/newScreen.js index 051b8edb82..34026bca7f 100644 --- a/packages/builder/src/templates/screenTemplating/table/newScreen.js +++ b/packages/builder/src/templates/screenTemplating/table/newScreen.js @@ -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 {