diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte index f39bc2d337..8ee3d3d9bd 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte @@ -11,6 +11,8 @@ ActionButton, notifications, Modal, + Toggle, + Tooltip, } from "@budibase/bbui" import ConfigModal from "./ConfigModal.svelte" @@ -22,6 +24,7 @@ let blocks let confirmDeleteDialog + $: rowControl = $automationStore.selectedAutomation.automation.rowControl $: { blocks = [] if (automation) { @@ -32,6 +35,13 @@ } } + function toggleFieldControl(evt) { + automationStore.actions.toggleFieldControl(evt.detail) + automationStore.actions.save( + $automationStore.selectedAutomation?.automation + ) + } + async function deleteAutomation() { await automationStore.actions.delete( $automationStore.selectedAutomation?.automation @@ -61,16 +71,11 @@