diff --git a/ui/src/components/trainingReport/trainingReportForm.vue b/ui/src/components/trainingReport/trainingReportForm.vue index 137f3a6..1eb9a3e 100644 --- a/ui/src/components/trainingReport/trainingReportForm.vue +++ b/ui/src/components/trainingReport/trainingReportForm.vue @@ -17,6 +17,7 @@ import { Plus, X } from 'lucide-vue-next'; import FieldSet from '../ui/field/FieldSet.vue' import FieldLegend from '../ui/field/FieldLegend.vue' import FieldDescription from '../ui/field/FieldDescription.vue' +import Checkbox from '../ui/checkbox/Checkbox.vue' const { handleSubmit, resetForm, errors } = useForm({ validationSchema: toTypedSchema(trainingReportSchema), @@ -44,10 +45,7 @@ function onSubmit(vals) { ...vals, event_date: toMySQLDateTime(new Date(vals.event_date)), } - postTrainingReport(clean); - console.log("SUBMITTED:", clean) - } catch (err) { console.log("There was an error submitting the training report", err); }