diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte index 811909845a..503cc39187 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte @@ -14,7 +14,9 @@ notifications, Label, AbsTooltip, + InlineAlert, } from "@budibase/bbui" + import { AutomationTriggerStepId } from "@budibase/types" import AutomationBlockSetup from "../../SetupPanel/AutomationBlockSetup.svelte" import CreateWebhookModal from "components/automation/Shared/CreateWebhookModal.svelte" import ActionModal from "./ActionModal.svelte" @@ -49,6 +51,8 @@ $: isAppAction && setPermissions(role) $: isAppAction && getPermissions(automationId) + $: isRowAction = block?.stepId === AutomationTriggerStepId.ROW_ACTION + async function setPermissions(role) { if (!role || !automationId) { return @@ -183,6 +187,12 @@ {block} {webhookModal} /> + {#if isRowAction && isTrigger} + + {/if} {#if lastStep}