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
@@ -1,12 +1,13 @@
<script setup lang="ts">
import { computed } from "vue";
import { Flight } from "@/Types/types";
import {Flight, User} from "@/Types/types";
import BoardingPass from "@/Components/FlightsGoneBy/BoardingPass.vue";
import { FlightStats } from "@/Composables/useFlightStats";
const props = defineProps<{
flightStats: FlightStats
canEdit: boolean
user: User
}>()
const upcomingFlights = computed(() =>
@@ -64,7 +65,7 @@ function isUpcoming(flight: Flight): boolean {
</div>
</template>
<BoardingPass :flight="flight" />
<BoardingPass :user="user" :canEdit="canEdit" :flight="flight" />
</template>
</div>
</div>