From 1dcffef2c2cc62577f7d22b2b5f4652fd308cb4c Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Fri, 21 Nov 2025 11:18:26 -0500 Subject: [PATCH] reenabled submitting form --- ui/src/components/trainingReport/trainingReportForm.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ui/src/components/trainingReport/trainingReportForm.vue b/ui/src/components/trainingReport/trainingReportForm.vue index 61995b3..06c529b 100644 --- a/ui/src/components/trainingReport/trainingReportForm.vue +++ b/ui/src/components/trainingReport/trainingReportForm.vue @@ -52,10 +52,9 @@ function onSubmit(vals) { ...vals, event_date: toMySQLDateTime(new Date(vals.event_date)), } - console.log(clean); - // postTrainingReport(clean).then((newID) => { - // emit("submit", newID); - // }); + postTrainingReport(clean).then((newID) => { + emit("submit", newID); + }); } catch (err) { console.log("There was an error submitting the training report", err); }