some small ux updates
This commit is contained in:
parent
6ab439d5d7
commit
1437ce2e66
|
@ -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
|
||||||
|
|
|
@ -71,7 +71,7 @@ export async function run({ inputs }: AutomationStepInput) {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
success: true,
|
success: true,
|
||||||
value: response,
|
value: response.steps,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue