diff --git a/apps/dispatch-server/socket-events/connect-pilot.ts b/apps/dispatch-server/socket-events/connect-pilot.ts
index d8710639..bd9fcc85 100644
--- a/apps/dispatch-server/socket-events/connect-pilot.ts
+++ b/apps/dispatch-server/socket-events/connect-pilot.ts
@@ -97,6 +97,7 @@ export const handleConnectPilot =
posLat: randomPos?.lat,
posLng: randomPos?.lng,
posXplanePluginActive: debug ? true : undefined,
+ posH145active: debug ? true : undefined,
},
});
diff --git a/apps/dispatch/app/(app)/dispatch/_components/pannel/MissionForm.tsx b/apps/dispatch/app/(app)/dispatch/_components/pannel/MissionForm.tsx
index 9740c983..2c53cfa6 100644
--- a/apps/dispatch/app/(app)/dispatch/_components/pannel/MissionForm.tsx
+++ b/apps/dispatch/app/(app)/dispatch/_components/pannel/MissionForm.tsx
@@ -119,11 +119,12 @@ export const MissionForm = () => {
});
const { missionFormValues, setOpen } = usePannelStore((state) => state);
- const validationRequired = HPGValidationRequired(
- form.watch("missionStationIds"),
- aircrafts,
- form.watch("hpgMissionString"),
- );
+ const validationRequired =
+ HPGValidationRequired(
+ form.watch("missionStationIds"),
+ aircrafts,
+ form.watch("hpgMissionString"),
+ ) && !form.watch("hpgMissionString")?.startsWith("kein Szenario");
useEffect(() => {
if (session.data?.user.id) {
@@ -371,6 +372,7 @@ export const MissionForm = () => {
+
{keywords &&
keywords
.find((k) => k.name === form.watch("missionKeywordName"))
diff --git a/apps/dispatch/app/_components/map/ContextMenu.tsx b/apps/dispatch/app/_components/map/ContextMenu.tsx
index 7d65038f..874ea0fd 100644
--- a/apps/dispatch/app/_components/map/ContextMenu.tsx
+++ b/apps/dispatch/app/_components/map/ContextMenu.tsx
@@ -3,19 +3,7 @@ import { OSMWay } from "@repo/db";
import { useDispatchConnectionStore } from "_store/dispatch/connectionStore";
import { useMapStore } from "_store/mapStore";
import { usePannelStore } from "_store/pannelStore";
-import { XplaneObject } from "@repo/db";
-import {
- MapPin,
- MapPinned,
- Radius,
- Search,
- RulerDimensionLine,
- Scan,
- Car,
- Ambulance,
- Siren,
- Flame,
-} from "lucide-react";
+import { MapPin, MapPinned, Search, Car, Ambulance, Siren, Flame } from "lucide-react";
import { getOsmAddress } from "_querys/osm";
import { useEffect, useState } from "react";
import toast from "react-hot-toast";