fixed live-display of CC using geojson
This commit is contained in:
@@ -235,9 +235,9 @@ const RettungsmittelTab = ({
|
||||
const livekitUser = participants.find((p) => (p.attributes.userId = aircraft.userId));
|
||||
|
||||
const lstName = useMemo(() => {
|
||||
if (!aircraft.posLng || !aircraft.posLat) return;
|
||||
if (!aircraft.posLng || !aircraft.posLat) return station.bosRadioArea;
|
||||
return findLeitstelleForPosition(aircraft.posLng, aircraft.posLat);
|
||||
}, [aircraft]);
|
||||
}, [aircraft.posLng, aircraft.posLat]);
|
||||
|
||||
return (
|
||||
<div className="p-4 text-base-content">
|
||||
|
||||
Reference in New Issue
Block a user