Automation only processes (#10548)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2026-02-24 23:42:16 +05:00
committed by GitHub
parent 2beb25faf4
commit 5a9c9be6cb
18 changed files with 40 additions and 3 deletions
@@ -35,6 +35,12 @@
await client.update(value, { autoStart: e.detail })
}
}
async function saveAutomationOnly (e: CustomEvent<boolean>): Promise<void> {
if (value !== undefined) {
await client.update(value, { automationOnly: e.detail })
}
}
</script>
<Card
@@ -54,5 +60,16 @@
label={process.string.ParallelExecutionForbidden}
/>
</div>
<ToggleWithLabel on={value.autoStart ?? false} on:change={saveAutoStart} label={process.string.StartAutomatically} />
<div class="mb-2">
<ToggleWithLabel
on={value.autoStart ?? false}
on:change={saveAutoStart}
label={process.string.StartAutomatically}
/>
</div>
<ToggleWithLabel
on={value.automationOnly ?? false}
on:change={saveAutomationOnly}
label={process.string.AutomationOnly}
/>
</Card>