Fix zorbazovani udalosti
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user