remove logs and copy changes

This commit is contained in:
Peter Clement 2023-05-15 14:49:05 +01:00
parent 266465c8df
commit 27e78206c4
3 changed files with 5 additions and 8 deletions

View File

@ -20,8 +20,7 @@
let collectBlockExists = $selectedAutomation.definition.steps.some(
step => step.stepId === ActionStepID.COLLECT
)
$: console.log($licensing)
$: console.log(syncWebhooksEnabled)
const disabled = {
SEND_EMAIL_SMTP: {
disabled: !$admin.checklist.smtp.checked,

View File

@ -151,7 +151,6 @@
bindings.push(stateBinding)
}
})
// Get which indexes are asynchronous automations as we want to filter them out from the bindings
const asynchronousAutomationIndexes = actions
.map((action, index) => {
@ -174,7 +173,6 @@
} else {
allBindings = eventContextBindings.concat(bindings)
}
return allBindings
}
</script>

View File

@ -54,6 +54,8 @@
)
$: selectedSchema = selectedAutomation?.schema
$: error = parameters.timeout > 120 ? "Timeout must be less than 120s" : null
const onFieldsChanged = e => {
parameters.fields = Object.entries(e.detail || {}).reduce(
(acc, [key, value]) => {
@ -85,8 +87,6 @@
parameters.automationId = automationId
parameters.synchronous = synchronous
}
$: error = parameters.timeout > 120 ? "Timeout must be less than 120s" : null
</script>
<div class="root">
@ -136,8 +136,8 @@
<Icon name="Info" />
<div>
<i
>This automation will run synchronously due to the existence of a
Collect block</i
>This automation will run synchronously as it contains a Collect
step</i
>
</div>
</div>