From 07d1f0883746a28b3890f1170ef45b598c38e35f Mon Sep 17 00:00:00 2001 From: nocnico Date: Sun, 18 May 2025 16:39:18 +0200 Subject: [PATCH] New Btn Layout for running Missions --- .../map/_components/MissionMarkerTabs.tsx | 113 +++++++++++------- 1 file changed, 71 insertions(+), 42 deletions(-) diff --git a/apps/dispatch/app/dispatch/_components/map/_components/MissionMarkerTabs.tsx b/apps/dispatch/app/dispatch/_components/map/_components/MissionMarkerTabs.tsx index a63f2705..ed5fcd90 100644 --- a/apps/dispatch/app/dispatch/_components/map/_components/MissionMarkerTabs.tsx +++ b/apps/dispatch/app/dispatch/_components/map/_components/MissionMarkerTabs.tsx @@ -61,9 +61,36 @@ const Einsatzdetails = ({ mission }: { mission: Mission }) => { const { setMissionFormValues, setOpen } = usePannelStore((state) => state); return (
-

- Einsatzdetails -

+
+

+ Einsatzdetails +

+ {mission.state !== "draft" && ( +
+ +
+ )} +
-
-
- + {mission.state === "draft" && ( +
+
+
+ - - {mission.state === "draft" && ( - - )} -
+ + +
+
+ )}
); };