From 347f99adb607d2d1bdd3b199eda7e18220286e87 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Tue, 8 Jul 2025 22:54:05 +0300 Subject: [PATCH] Set default value for auto_start in TaskForm component --- ui/components/TaskForm.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/components/TaskForm.vue b/ui/components/TaskForm.vue index 0e5c3a13..9b540c9a 100644 --- a/ui/components/TaskForm.vue +++ b/ui/components/TaskForm.vue @@ -328,6 +328,9 @@ onMounted(() => { if (!props.task?.preset || '' === props.task.preset) { form.preset = toRaw(config.app.default_preset) } + if (typeof form.auto_start === 'undefined' || form.auto_start === null) { + form.auto_start = true + } }) const checkInfo = async () => {