Added Notifications

This commit is contained in:
2026-05-24 21:53:17 +10:00
parent 150c34bfb8
commit 57b015eb18
8 changed files with 57 additions and 11 deletions
+5 -2
View File
@@ -3,8 +3,8 @@ import { ref, computed } from "vue"
import ProfileLayout from "@/Components/FlightsGoneBy/ProfileLayout.vue"
import ProfileViewSwitcher from "@/Components/FlightsGoneBy/ProfileViewSwitcher.vue"
import AchievementCard from "@/Components/FlightsGoneBy/AchievementCard.vue"
import {Achievement, User, UserAchievement} from "@/Types/types"
import { Head } from "@inertiajs/vue3";
import {Achievement, SharedProps, User, UserAchievement} from "@/Types/types"
import {Head, usePage} from "@inertiajs/vue3";
import MainLayout from "@/Layouts/MainLayout.vue";
import Panel from "@/Components/FlightsGoneBy/Panels/Panel.vue";
import PanelHeader from "@/Components/FlightsGoneBy/Panels/PanelHeader.vue";
@@ -22,6 +22,8 @@ const props = defineProps<{
unlockedByCategory: Record<string, number>
}>()
const page = usePage<SharedProps>().props
const hideImpossible = ref(false)
const filteredAchievements = computed(() => {
@@ -105,6 +107,7 @@ const filteredUnlockedCount = computed(() =>
:key="achievement.id"
:achievement="achievement"
:user-achievement="userAchievements[achievement.id]"
:distance-unit="page.auth?.user?.distance_unit"
/>
</div>
</Panel>