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
+3 -3
View File
@@ -86,10 +86,10 @@ function switchView(view: ProfileView) {
<Head :title="`${user.name}'s Flights`" />
<ProfileLayout :flights="flights" :user="user">
<ProfileViewSwitcher :active-view="activeView" @update:active-view="switchView" />
<DepartureBoard v-if="activeView === 'board'" :flight-stats="stats" :canEdit="canEdit" />
<BoardingPasses v-else-if="activeView === 'passes'" :flight-stats="stats" :canEdit="canEdit" />
<DepartureBoard v-show="activeView === 'board'" :flight-stats="stats" :canEdit="canEdit" />
<BoardingPasses v-show="activeView === 'passes'" :flight-stats="stats" :canEdit="canEdit" />
<FlightMapAndCharts
v-else-if="activeView === 'map'"
v-show="activeView === 'map'"
:stats="stats"
:canEdit="canEdit"
@filters-change="onFiltersChange"