Merge branch 'master' of kvacek.cz:poletani.cz/app into planovac

This commit is contained in:
Michal Kváček
2024-04-02 06:13:48 +02:00
4 changed files with 11 additions and 6 deletions
+6 -1
View File
@@ -8,7 +8,11 @@ import {pluralize} from "src/composables/utils";
const props = defineProps({
eventId: {
type: Number,
required: true
required: false
},
eventUrlSlug: {
type: String,
required: false,
},
onlyPublic: {
type: Boolean,
@@ -22,6 +26,7 @@ const totalFlights = ref(0);
useEventsStore().fetchFlightsTracks({
eventId: props.eventId,
eventUrlSlug: props.eventUrlSlug,
onlyPublic: props.onlyPublic
}).then((data) => {
if (!data.flights) return;