diff --git a/apps/core-server/routes/helper.ts b/apps/core-server/routes/helper.ts index 2ba6edfc..2bd0f5c2 100644 --- a/apps/core-server/routes/helper.ts +++ b/apps/core-server/routes/helper.ts @@ -19,7 +19,6 @@ router.post("/set-standard-name", async (req, res) => { id: userId, }, }); - console.log(`Setting standard name for user ${userId} (${user?.publicId}) to member ${memberId}`); if (!user) { res.status(404).json({ error: "User not found" }); return; diff --git a/apps/dispatch-server/routes/mission.ts b/apps/dispatch-server/routes/mission.ts index 5542c64a..0f9032ca 100644 --- a/apps/dispatch-server/routes/mission.ts +++ b/apps/dispatch-server/routes/mission.ts @@ -261,9 +261,7 @@ router.post("/:id/hpg-validation-result", async (req, res) => { }, } as NotificationPayload); - console.log("Got positiv validation Result", result.alertWhenValid); if (result.alertWhenValid) { - console.log(req.user); sendAlert(Number(missionId), {}, "HPG"); } } else { diff --git a/apps/dispatch-server/socket-events/send-message.ts b/apps/dispatch-server/socket-events/send-message.ts index cafa37b2..d6b8a39c 100644 --- a/apps/dispatch-server/socket-events/send-message.ts +++ b/apps/dispatch-server/socket-events/send-message.ts @@ -8,7 +8,6 @@ export const handleSendMessage = { userId, message }: { userId: string; message: string }, cb: (err: { error?: string }) => void, ) => { - console.log("send-message", userId, message); const senderId = socket.data.user.id; const senderUser = await prisma.user.findUnique({ diff --git a/apps/dispatch/app/(app)/dispatch/_components/StationSelect.tsx b/apps/dispatch/app/(app)/dispatch/_components/StationSelect.tsx index 09e3283b..f435050e 100644 --- a/apps/dispatch/app/(app)/dispatch/_components/StationSelect.tsx +++ b/apps/dispatch/app/(app)/dispatch/_components/StationSelect.tsx @@ -107,7 +107,6 @@ export function StationsSelect({ menuPlacement={menuPlacement} isMulti={isMulti} onChange={(v) => { - console.log("Selected values:", v); setValue(v); if (!isMulti) { const singleValue = v as string; diff --git a/apps/dispatch/app/(app)/dispatch/_components/pannel/MissionForm.tsx b/apps/dispatch/app/(app)/dispatch/_components/pannel/MissionForm.tsx index 02c33695..40543dba 100644 --- a/apps/dispatch/app/(app)/dispatch/_components/pannel/MissionForm.tsx +++ b/apps/dispatch/app/(app)/dispatch/_components/pannel/MissionForm.tsx @@ -195,7 +195,7 @@ export const MissionForm = () => {
{/* Koorinaten Section */}
-

Koordinaten

+

Koordinaten

{ {/* Adresse Section */}
-

Adresse

+

Adresse

{ type="text" {...form.register("addressAdditionalInfo")} placeholder="Zusätzliche Adressinformationen" - className="input input-primary input-bordered w-full mt-4" + className="input input-primary input-bordered mt-4 w-full" />
{/* Rettungsmittel Section */}
-

Rettungsmittel

+

Rettungsmittel

{ - console.log("Selected stations:", v); form.setValue("missionStationIds", v.selectedStationIds); form.setValue("hpgAmbulanceState", v.hpgAmbulanceState); form.setValue("hpgFireEngineState", v.hpgFireEngineState); @@ -270,10 +269,10 @@ export const MissionForm = () => { {/* Einsatzdaten Section */}
-

Einsatzdaten

+

Einsatzdaten

{ form.setValue("missionKeywordCategory", e.target.value as string); form.setValue("missionKeywordName", null as any); @@ -316,13 +315,13 @@ export const MissionForm = () => { ))} {form.formState.errors.missionKeywordCategory && ( -

Bitte wähle eine Kategorie aus.

+

Bitte wähle eine Kategorie aus.

)} )} {form.formState.errors.missionKeywordAbbreviation && ( -

Bitte wähle ein Stichwort aus.

+

Bitte wähle ein Stichwort aus.

)}
{validationRequired && ( -

Szenario wird vor Alarmierung HPG-Validiert.

+

Szenario wird vor Alarmierung HPG-Validiert.

)}