From aaa2dccee7ed8e121206dc2e1c119cf4a13d497f Mon Sep 17 00:00:00 2001 From: PxlLoewe <72106766+PxlLoewe@users.noreply.github.com> Date: Tue, 24 Jun 2025 23:19:45 -0700 Subject: [PATCH] Hinweise zu Event-section --- .../event/_components/ParticipantModal.tsx | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/apps/hub/app/(app)/admin/event/_components/ParticipantModal.tsx b/apps/hub/app/(app)/admin/event/_components/ParticipantModal.tsx index e3c4d1be..89f2c18c 100644 --- a/apps/hub/app/(app)/admin/event/_components/ParticipantModal.tsx +++ b/apps/hub/app/(app)/admin/event/_components/ParticipantModal.tsx @@ -8,6 +8,7 @@ import { deleteParticipant } from "../action"; import { checkMoodleResults, handleParticipantFinished } from "../../../../../helper/events"; import { AxiosError } from "axios"; import toast from "react-hot-toast"; +import { useRouter } from "next/navigation"; interface ParticipantModalProps { participantForm: UseFormReturn; @@ -15,6 +16,7 @@ interface ParticipantModalProps { } export const ParticipantModal = ({ participantForm, ref }: ParticipantModalProps) => { + const router = useRouter(); return (
@@ -42,8 +44,13 @@ export const ParticipantModal = ({ participantForm, ref }: ParticipantModalProps label="Abschluss-Moodle-Kurs abgeschlossen" />
-

Debug

- +
+

Debug

+

+ Diese Aktionen Versenden u.A. Mail! Aktivitäts-log für Teilnhemer aktualisiert nicht + nach ausfühlen +

+