removed console.log

This commit is contained in:
PxlLoewe
2025-07-19 16:05:01 -07:00
parent 68e26b18b2
commit 9eaf3a06ed
18 changed files with 37 additions and 80 deletions

View File

@@ -34,8 +34,8 @@ export const AppointmentModal = ({
const participantTableRef = useRef<PaginatedTableRef>(null);
return (
<dialog ref={ref} className="modal ">
<div className="modal-box min-w-[900px] min-h-[500px]">
<dialog ref={ref} className="modal">
<div className="modal-box min-h-[500px] min-w-[900px]">
<form method="dialog">
{/* if there is a button in form, it will close the modal */}
<button
@@ -55,8 +55,8 @@ export const AppointmentModal = ({
})}
className="flex flex-col"
>
<div className="flex justify-between mr-7">
<h3 className="font-bold text-lg">Termin {appointmentForm.watch("id")}</h3>
<div className="mr-7 flex justify-between">
<h3 className="text-lg font-bold">Termin {appointmentForm.watch("id")}</h3>
<DateInput
value={new Date(appointmentForm.watch("appointmentDate") || Date.now())}
onChange={(date) => appointmentForm.setValue("appointmentDate", date)}
@@ -121,11 +121,6 @@ export const AppointmentModal = ({
attended: true,
appointmentCancelled: false,
});
console.log(
"Participant attended",
event.finisherMoodleCourseId,
!event.finisherMoodleCourseId?.length,
);
if (!event.finisherMoodleCourseId?.length) {
toast(
"Teilnehmer hat das event abgeschlossen, workflow ausgeführt",