diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte index 811909845a5..c88317c79f6 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte @@ -3,6 +3,7 @@ automationStore, selectedAutomation, permissions, + selectedAutomationDisplayData, } from "stores/builder" import { Icon, @@ -14,6 +15,7 @@ notifications, Label, AbsTooltip, + InlineAlert, } from "@budibase/bbui" import AutomationBlockSetup from "../../SetupPanel/AutomationBlockSetup.svelte" import CreateWebhookModal from "components/automation/Shared/CreateWebhookModal.svelte" @@ -49,6 +51,8 @@ $: isAppAction && setPermissions(role) $: isAppAction && getPermissions(automationId) + $: triggerInfo = $selectedAutomationDisplayData?.triggerInfo + async function setPermissions(role) { if (!role || !automationId) { return @@ -183,6 +187,12 @@ {block} {webhookModal} /> + {#if isTrigger && triggerInfo} + + {/if} {#if lastStep}