Add more airlines and fix edit bugs

This commit is contained in:
2026-04-20 13:48:15 +10:00
parent 5deefcbfb3
commit 061ee9dd07
5 changed files with 9 additions and 4 deletions
@@ -27,7 +27,7 @@ const emit = defineEmits<{
const chartsVisible = ref(false)
onMounted(async () => {
setTimeout(() => { chartsVisible.value = true }, 10)
setTimeout(() => { chartsVisible.value = true }, 1)
})
const mappedFlights = computed(() => [
@@ -37,6 +37,7 @@ const mappedFlights = computed(() => [
</script>
<template>
<div>
<FlightMap :flights="mappedFlights" />
<FlightFilter :flights="mappedFlights" @change="$emit('filtersChange', $event)" />
<FlightStatsBar :flights="stats.pastFlights.value" :upcoming-flights="stats.upcomingFlights.value" />
@@ -44,4 +45,5 @@ const mappedFlights = computed(() => [
<div v-else style="width:100%; display:flex; align-items: center;justify-content: center">
<PlaneLoader />
</div>
</div>
</template>