1
0
Fork 0
mirror of synced 2024-07-19 13:15:49 +12:00

some small ux updates

This commit is contained in:
Peter Clement 2024-01-03 15:28:07 +00:00
parent 6ab439d5d7
commit 1437ce2e66
2 changed files with 4 additions and 5 deletions

View file

@ -19,11 +19,13 @@
export let lastStep export let lastStep
let syncAutomationsEnabled = $licensing.syncAutomationsEnabled let syncAutomationsEnabled = $licensing.syncAutomationsEnabled
let triggerAutomationsEnabled = $licensing.triggerAutomationsEnabled let triggerAutomationsEnabled = true
let collectBlockAllowedSteps = [TriggerStepID.APP, TriggerStepID.WEBHOOK] let collectBlockAllowedSteps = [TriggerStepID.APP, TriggerStepID.WEBHOOK]
let selectedAction let selectedAction
let actionVal let actionVal
let actions = Object.entries($automationStore.blockDefinitions.ACTION) let actions = Object.entries($automationStore.blockDefinitions.ACTION)
let lockedFeatures = [ActionStepID.COLLECT, ActionStepID.TRIGGER]
$: collectBlockExists = checkForCollectStep($selectedAutomation) $: collectBlockExists = checkForCollectStep($selectedAutomation)
const disabled = () => { const disabled = () => {
@ -103,9 +105,6 @@
notifications.error("Error saving automation") notifications.error("Error saving automation")
} }
} }
let lockedFeatures = [ActionStepID.COLLECT, ActionStepID.TRIGGER]
$: console.log
</script> </script>
<ModalContent <ModalContent

View file

@ -71,7 +71,7 @@ export async function run({ inputs }: AutomationStepInput) {
return { return {
success: true, success: true,
value: response, value: response.steps,
} }
} }
} }