Added Notifications

This commit is contained in:
2026-05-21 22:52:16 +10:00
parent 10d6ee8dee
commit 150c34bfb8
14 changed files with 161 additions and 107 deletions
+2 -1
View File
@@ -19,6 +19,7 @@ const props = defineProps<{
flight: Flight
flightCount: number
isFollowing: boolean
canEdit: boolean
}>()
</script>
@@ -37,7 +38,7 @@ const props = defineProps<{
<div class="profile-grid">
<RoutePanel :flight="flight" />
<Panel label="Flight Details">
<BoardingPass :showToolTips="false" style="width:100%;max-width:600px; margin:0 auto" :flight="flight"/>
<BoardingPass :user="user" :showToolTips="false" style="width:100%;max-width:600px; margin:0 auto" :flight="flight" :canEdit="canEdit" />
<DetailRows>
</DetailRows>
+1 -1
View File
@@ -124,7 +124,7 @@ function switchView(view: ProfileView) {
<ProfileLayout :is-following="isFollowing" :flightCount="flightCount" :user="user" :loading="flightsLoading">
<ProfileViewSwitcher :user="user" :active-view="activeView" @update:active-view="switchView" />
<DepartureBoard v-if="activeView === 'board'" :flight-id="localSelectedFlightId" :flight-stats="stats" :canEdit="canEdit" :user="user" />
<BoardingPasses v-if="activeView === 'passes'" :flight-stats="stats" :canEdit="canEdit" />
<BoardingPasses v-if="activeView === 'passes'" :flight-stats="stats" :canEdit="canEdit" :user="user" />
<FlightMapAndCharts
v-if="activeView === 'map'"
:stats="stats"