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