Rufgruppe anzeige gefixed
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user