From f91b599b725d4c630c90d50b8de7e01a50b1a060 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Wed, 24 May 2023 14:56:37 +0100 Subject: [PATCH] fix import --- .../ButtonActionEditor/actions/TriggerAutomation.svelte | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/TriggerAutomation.svelte b/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/TriggerAutomation.svelte index 8a38645ee7..4a70dd2fd4 100644 --- a/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/TriggerAutomation.svelte +++ b/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/TriggerAutomation.svelte @@ -2,8 +2,7 @@ import { Select, Label, Input, Checkbox, Icon } from "@budibase/bbui" import { automationStore } from "builderStore" import SaveFields from "./SaveFields.svelte" - import { TriggerStepID } from "constants/backend/automations" - import { AutomationActionStepId } from "../../../../../../../../types/src/documents" + import { TriggerStepID, ActionStepID } from "constants/backend/automations" export let parameters = {} export let bindings = [] @@ -38,7 +37,7 @@ ).map(([name, type]) => ({ name, type })) let hasCollectBlock = automation.definition.steps.some( - step => step.stepId === AutomationActionStepId.COLLECT + step => step.stepId === ActionStepID.COLLECT ) return {