From e0d3855945660bd50173fe23e405f48cb5621362 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 18 Jul 2024 16:28:15 +0200 Subject: [PATCH 01/14] Display row action trigger info --- .../AutomationBuilder/FlowChart/FlowItem.svelte | 10 ++++++++++ 1 file changed, 10 insertions(+) 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}