PR Feedback
This commit is contained in:
parent
41b3243ace
commit
76e30b44ab
|
@ -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()],
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue