Merge pull request #7727 from Budibase/bug/sev3/create-app-action-automation-error

Null safety when creating automation from design
This commit is contained in:
Martin McKeaveney 2022-09-12 09:20:36 +01:00 committed by GitHub
commit 7d05a19dae
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
) )
newBlock.inputs = { newBlock.inputs = {
fields: Object.keys(parameters.fields).reduce((fields, key) => { fields: Object.keys(parameters.fields ?? {}).reduce((fields, key) => {
fields[key] = "string" fields[key] = "string"
return fields return fields
}, {}), }, {}),