diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte index c263468f3b..c155b9bb1e 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte @@ -12,13 +12,17 @@ import { Icon, notifications, Modal, Toggle } from "@budibase/bbui" import { ActionStepID } from "constants/backend/automations" import UndoRedoControl from "components/common/UndoRedoControl.svelte" + import { sdk } from "@budibase/shared-core" export let automation let testDataModal let confirmDeleteDialog let scrolling = false + $: blocks = getBlocks(automation).filter(x => x.stepId !== ActionStepID.LOOP) + $: isRowAction = sdk.automations.isRowAction(automation) + const getBlocks = automation => { let blocks = [] if (automation.definition.trigger) { @@ -74,17 +78,19 @@ Test details -