Rufgruppe anzeige gefixed

This commit is contained in:
PxlLoewe
2025-07-23 18:06:14 -07:00
parent 640fca6fdd
commit b1dcaee565
2 changed files with 2 additions and 1 deletions

View File

@@ -245,7 +245,7 @@ const StationTab = ({ aircraft }: { aircraft: ConnectedAircraft & { Station: Sta
})),
) || [];
const livekitUser = participants.find((p) => (p.attributes.userId = aircraft.userId));
const livekitUser = participants.find((p) => p.attributes.userId === aircraft.userId);
const lstName = useMemo(() => {
if (!aircraft.posLng || !aircraft.posLat) return station.bosRadioArea;

View File

@@ -64,6 +64,7 @@ export const PUT = async (req: Request) => {
},
});
// TODO: Position Runden
if (activeAircraft.posLat === position.lat && activeAircraft.posLng === position.lng) {
return Response.json({ message: "Position has not changed" }, { status: 200 });
}