Pridana moznost zobrazeni planu v detailu letu
This commit is contained in:
@@ -59,7 +59,7 @@ const {airports} = storeToRefs(useAirportsStore());
|
||||
const {getMarkersFrom} = useFlightPlanUtils();
|
||||
|
||||
const usedPointsOfInterest = computed(() => {
|
||||
const poisInTrackIds = getMarkersFrom(flightPlan.value).filter(m => !!m.pointOfInterestId).map(poi => poi.id);
|
||||
const poisInTrackIds = getMarkersFrom(flightPlan.value).filter(m => !!m.pointOfInterestId).map(poi => poi.pointOfInterestId);
|
||||
return pointsOfInterest.value.filter(poi => poisInTrackIds.includes(poi.id))
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user