diff --git a/packages/builder/src/builderStore/store/automation/index.js b/packages/builder/src/builderStore/store/automation/index.js
index 148fe4fdd2..e6ac8d19d8 100644
--- a/packages/builder/src/builderStore/store/automation/index.js
+++ b/packages/builder/src/builderStore/store/automation/index.js
@@ -122,7 +122,7 @@ const automationActions = store => ({
},
toggleFieldControl: value => {
store.update(state => {
- state.selectedAutomation.automation.rowControl = value
+ state.selectedBlock.rowControl = value
return state
})
},
diff --git a/packages/builder/src/components/automation/AutomationBuilder/AutomationBuilder.svelte b/packages/builder/src/components/automation/AutomationBuilder/AutomationBuilder.svelte
index 7ce77a58e3..e852ee1a0d 100644
--- a/packages/builder/src/components/automation/AutomationBuilder/AutomationBuilder.svelte
+++ b/packages/builder/src/components/automation/AutomationBuilder/AutomationBuilder.svelte
@@ -3,14 +3,8 @@
import Flowchart from "./FlowChart/FlowChart.svelte"
$: automation = $automationStore.selectedAutomation?.automation
- function onSelect(block) {
- automationStore.update(state => {
- state.selectedBlock = block
- return state
- })
- }
{#if automation}
-