disabled extra logging
This commit is contained in:
@@ -30,13 +30,13 @@ const { handleSubmit, resetForm, errors, values, setFieldValue } = useForm({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
watch(errors, (newErrors) => {
|
// watch(errors, (newErrors) => {
|
||||||
console.log(newErrors)
|
// console.log(newErrors)
|
||||||
}, { deep: true })
|
// }, { deep: true })
|
||||||
|
|
||||||
watch(values, (newErrors) => {
|
// watch(values, (newErrors) => {
|
||||||
console.log(newErrors.attendees)
|
// console.log(newErrors.attendees)
|
||||||
}, { deep: true })
|
// }, { deep: true })
|
||||||
|
|
||||||
watch(() => values.course_id, (newCourseId, oldCourseId) => {
|
watch(() => values.course_id, (newCourseId, oldCourseId) => {
|
||||||
if (!oldCourseId) return;
|
if (!oldCourseId) return;
|
||||||
@@ -67,7 +67,7 @@ function onSubmit(vals) {
|
|||||||
emit("submit", newID);
|
emit("submit", newID);
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log("There was an error submitting the training report", err);
|
console.error("There was an error submitting the training report", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user