Added Notifications
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user