Pridani letiste pro mezipristani

This commit is contained in:
Michal Kváček
2023-10-07 21:37:16 +02:00
parent 36b0178b97
commit 901c652641
7 changed files with 89 additions and 21 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ const props = defineProps({
const mapPhotos = computed(() => flight.value.photos.filter(photo => photo.gpsLatitude && photo.gpsLongitude));
const poisWithGPS = computed(() => {
return flight.value.track.filter(poi => poi.pointOfInterest.gpsLatitude && poi.pointOfInterest.gpsLongitude)
return flight.value.track.filter(poi => poi.pointOfInterest?.gpsLatitude && poi.pointOfInterest?.gpsLongitude)
});
const pointsOfInterests = computed(() => {