Release v2.0.1 #99

Merged
PxlLoewe merged 26 commits from staging into release 2025-07-25 00:25:07 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit b1dcaee565 - Show all commits

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 });
}