fix import

This commit is contained in:
Peter Clement 2023-05-24 14:56:37 +01:00
parent a9bb534cdf
commit f91b599b72
1 changed files with 2 additions and 3 deletions

View File

@ -2,8 +2,7 @@
import { Select, Label, Input, Checkbox, Icon } from "@budibase/bbui" import { Select, Label, Input, Checkbox, Icon } from "@budibase/bbui"
import { automationStore } from "builderStore" import { automationStore } from "builderStore"
import SaveFields from "./SaveFields.svelte" import SaveFields from "./SaveFields.svelte"
import { TriggerStepID } from "constants/backend/automations" import { TriggerStepID, ActionStepID } from "constants/backend/automations"
import { AutomationActionStepId } from "../../../../../../../../types/src/documents"
export let parameters = {} export let parameters = {}
export let bindings = [] export let bindings = []
@ -38,7 +37,7 @@
).map(([name, type]) => ({ name, type })) ).map(([name, type]) => ({ name, type }))
let hasCollectBlock = automation.definition.steps.some( let hasCollectBlock = automation.definition.steps.some(
step => step.stepId === AutomationActionStepId.COLLECT step => step.stepId === ActionStepID.COLLECT
) )
return { return {