ensure binding / value selection in automation persists

This commit is contained in:
Peter Clement 2022-05-19 15:58:56 +01:00
parent 8a815fea2c
commit 7ce0043074
1 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,6 @@
let blockComplete
let showLooping = false
$: rowControl = $automationStore.selectedAutomation.automation.rowControl
$: showBindingPicker =
block.stepId === "CREATE_ROW" || block.stepId === "UPDATE_ROW"
@ -256,7 +255,7 @@
on:change={toggleFieldControl}
defaultValue="Use values"
autoWidth
value={rowControl ? "Use bindings" : "Use values"}
value={block.rowControl ? "Use bindings" : "Use values"}
options={["Use values", "Use bindings"]}
placeholder={null}
/>