Fix crashing when default inputs are undefined in block definition
This commit is contained in:
parent
b4cdc15d50
commit
aaa8313c50
|
@ -8,7 +8,7 @@
|
|||
function addBlockToAutomation() {
|
||||
automationStore.actions.addBlockToAutomation({
|
||||
...blockDefinition,
|
||||
args: blockDefinition.args || {},
|
||||
inputs: blockDefinition.inputs || {},
|
||||
stepId,
|
||||
type: blockType,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue