From b4b7b4def2cd21b2760364b2bde29133035a7e13 Mon Sep 17 00:00:00 2001 From: PxlLoewe <72106766+PxlLoewe@users.noreply.github.com> Date: Mon, 9 Jun 2025 22:38:31 -0700 Subject: [PATCH] enhanced overall Chat experience --- apps/dispatch/app/_components/left/Chat.tsx | 158 +++++++++--------- .../app/_components/map/MissionMarkers.tsx | 1 + apps/dispatch/app/_store/audioStore.ts | 13 +- apps/dispatch/app/_store/leftMenuStore.ts | 34 ++-- apps/dispatch/app/pilot/layout.tsx | 2 +- .../(auth)/register/_components/Register.tsx | 5 +- apps/hub/app/(auth)/register/action.ts | 4 +- 7 files changed, 119 insertions(+), 98 deletions(-) diff --git a/apps/dispatch/app/_components/left/Chat.tsx b/apps/dispatch/app/_components/left/Chat.tsx index bcf1b61d..c07485f1 100644 --- a/apps/dispatch/app/_components/left/Chat.tsx +++ b/apps/dispatch/app/_components/left/Chat.tsx @@ -85,18 +85,18 @@ export const Chat = () => { Keine Chatpartner gefunden )} - {filteredDispatcher?.length || - (filteredAircrafts?.length && ( - - ))} + {(filteredDispatcher?.length || filteredAircrafts?.length) && ( + + )} {filteredDispatcher?.map((dispatcher) => ( ))} + {filteredAircrafts?.map((aircraft) => (