fixed NewReport form

This commit is contained in:
PxlLoewe
2025-07-27 20:23:30 -07:00
parent a3e143145f
commit 157d2f02e1
2 changed files with 4 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ export const Chat = () => {
(d) => d.userId !== session.data?.user.id && !chats[d.userId],
);
const filteredAircrafts = aircrafts?.filter(
(a) => a.userId !== session.data?.user.id && dispatcherConnected && !chats[a.userId],
(a) => a.userId !== session.data?.user.id && !chats[a.userId],
);
const btnActive = pilotConnected || dispatcherConnected;