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:
commit
7d05a19dae
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
|||
)
|
||||
|
||||
newBlock.inputs = {
|
||||
fields: Object.keys(parameters.fields).reduce((fields, key) => {
|
||||
fields: Object.keys(parameters.fields ?? {}).reduce((fields, key) => {
|
||||
fields[key] = "string"
|
||||
return fields
|
||||
}, {}),
|
||||
|
|
Loading…
Reference in a new issue