diff --git a/apps/dispatch/app/(app)/pilot/page.tsx b/apps/dispatch/app/(app)/pilot/page.tsx index af023c97..f68a358b 100644 --- a/apps/dispatch/app/(app)/pilot/page.tsx +++ b/apps/dispatch/app/(app)/pilot/page.tsx @@ -33,20 +33,20 @@ const PilotPage = () => {
{/* */}
-
+
-
+
-
+
{!simulatorConnected && status === "connected" && ( )} diff --git a/apps/dispatch/app/_components/map/Map.tsx b/apps/dispatch/app/_components/map/Map.tsx index 4e794e25..b2ba520f 100644 --- a/apps/dispatch/app/_components/map/Map.tsx +++ b/apps/dispatch/app/_components/map/Map.tsx @@ -37,7 +37,7 @@ const Map = () => { return ( { return (
-
+
{/*
Kein Disponent Online
*/} -
+
{connections} {connections == 1 ? "Verbundenes Mitglied" : "Verbundene Mitglieder"} -
+
0 ? "badge-success" : "badge-error" @@ -65,7 +65,7 @@ export const ConnectedDispatcher = () => { className="tooltip tooltip-right" data-tip={`vorraussichtliche Abmeldung in ${formatDistance(new Date(), new Date(d.esimatedLogoutTime), { locale: de })}`} > -

+

{new Date(d.esimatedLogoutTime).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit", @@ -76,7 +76,7 @@ export const ConnectedDispatcher = () => {

{asPublicUser(d.publicUser).fullName}
-
{d.zone}
+
{d.zone}
{(() => {