diff --git a/src/components/tasks/AutomatedTaskForm.vue b/src/components/tasks/AutomatedTaskForm.vue index cf2ed94..2eea4e8 100644 --- a/src/components/tasks/AutomatedTaskForm.vue +++ b/src/components/tasks/AutomatedTaskForm.vue @@ -26,7 +26,16 @@ /> - + { - task.value.custom_field = null; - task.value.collector_all_ouput = false; - }); + // check the collector box when editing task and custom field is set + if (props.task && props.task.custom_field) collector.value = true; // stepper logic const step = ref(1);