PR Feedback

This commit is contained in:
Dean 2024-03-21 11:16:19 +00:00
parent 41b3243ace
commit 76e30b44ab
1 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ const createScreen = datasource => {
const buttonGroup = new Component("@budibase/standard-components/buttongroup") const buttonGroup = new Component("@budibase/standard-components/buttongroup")
const createButton = new Component("@budibase/standard-components/button") const createButton = new Component("@budibase/standard-components/button")
createButton.instanceName(`${datasource.label} - Create`).customProps({ createButton.customProps({
onClick: [ onClick: [
{ {
id: 0, id: 0,
@ -47,7 +47,7 @@ const createScreen = datasource => {
type: "cta", type: "cta",
}) })
buttonGroup.customProps({ buttonGroup.instanceName(`${datasource.label} - Create`).customProps({
hAlign: "right", hAlign: "right",
buttons: [createButton.json()], buttons: [createButton.json()],
}) })