Browse Source

Fixing issue with automation JS scripting not functioning, due to an object being passed in as code parameter.

gh-pages
mike12345567 5 years ago
parent
commit
e44c461a97
  1. 3
      packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte

3
packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte

@ -234,7 +234,8 @@
<Editor
mode="javascript"
on:change={e => {
onChange(e, key)
// need to pass without the value inside
onChange({ detail: e.detail.value }, key)
inputData[key] = e.detail.value
}}
value={inputData[key]}

Loading…
Cancel
Save