Set default value for auto_start in TaskForm component
This commit is contained in:
parent
543d7137f4
commit
347f99adb6
1 changed files with 3 additions and 0 deletions
|
|
@ -328,6 +328,9 @@ onMounted(() => {
|
||||||
if (!props.task?.preset || '' === props.task.preset) {
|
if (!props.task?.preset || '' === props.task.preset) {
|
||||||
form.preset = toRaw(config.app.default_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 () => {
|
const checkInfo = async () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue