1
0
Fork 0
mirror of synced 2024-10-05 20:44:47 +13:00

fix import

This commit is contained in:
Peter Clement 2023-05-24 14:56:37 +01:00
parent a9bb534cdf
commit f91b599b72

View file

@ -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 {