Added achievement data

This commit is contained in:
2026-05-09 18:05:12 +10:00
parent 7e3af37a46
commit f2b2eaaabe
183 changed files with 578 additions and 5 deletions
@@ -16,6 +16,7 @@ import AllianceLogo from "@/Components/FlightsGoneBy/AllianceLogo.vue";
const props = defineProps<{
flightStats: FlightStats
user: User
canEdit: boolean
flightId?: number | null
}>()
@@ -262,7 +263,7 @@ watch(
</td>
<td class="v-data-table__td actions-cell">
<template v-if="canEdit">
<template>
<v-menu>
<template #activator="{ props: menuProps }">
<v-btn
@@ -274,12 +275,17 @@ watch(
/>
</template>
<v-list density="compact" bg-color="#1a1e2e">
<v-list-item
<v-list-item v-if="canEdit"
prepend-icon="mdi-pencil-outline"
title="View Details"
:href="`/u/${user.name}/flight/${(item as Flight).id}`"
/>
<v-list-item v-if="canEdit"
prepend-icon="mdi-pencil-outline"
title="Edit"
:href="editRoute((item as Flight).id)"
/>
<v-list-item
<v-list-item v-if="canEdit"
prepend-icon="mdi-trash-can-outline"
title="Delete"
@click="showDeleteDialog = true"