From 4602f90652058cb389bfc9a576bb146eed763aed Mon Sep 17 00:00:00 2001 From: nocnico Date: Tue, 3 Jun 2025 21:16:36 +0200 Subject: [PATCH] Make ModeSwitch Dropdown focus aware --- .../app/_components/navbar/ModeSwitchDropdown.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/apps/dispatch/app/_components/navbar/ModeSwitchDropdown.tsx b/apps/dispatch/app/_components/navbar/ModeSwitchDropdown.tsx index a79fbb70..2e89c7b6 100644 --- a/apps/dispatch/app/_components/navbar/ModeSwitchDropdown.tsx +++ b/apps/dispatch/app/_components/navbar/ModeSwitchDropdown.tsx @@ -8,12 +8,15 @@ export default function ModeSwitchDropdown() { const path = usePathname(); return ( -
- +
+
{path.includes("pilot") && "Pilot"} {path.includes("dispatch") && "Leitstelle"} -
-
+ ); }