Added API
This commit is contained in:
@@ -20,7 +20,7 @@ const props = defineProps<{
|
||||
userAchievement: UserAchievement | null
|
||||
user: User
|
||||
loggedInUser: User | null
|
||||
isFollowing: boolean
|
||||
followStatus: string
|
||||
flight_api_url: string
|
||||
regions: Region[]
|
||||
alliance: string | null
|
||||
@@ -57,7 +57,7 @@ const unlocked = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ProfileLayout :title="`${achievement.name}`" :canView="canView" :achievementCount="achievementCount" :user="user" :isFollowing="isFollowing" :loading="flightsLoading">
|
||||
<ProfileLayout :title="`${achievement.name}`" :canView="canView" :achievementCount="achievementCount" :user="user" :followStatus="followStatus" :loading="flightsLoading">
|
||||
<div class="innerLayout">
|
||||
<ButtonLink variant="flat" icon="mdi-arrow-left" :label="`Back to ${user.name}'s Achievements`" :href="`${route('profile.achievements', { user: user.name })}#${achievement.internal_name}`" />
|
||||
|
||||
@@ -112,7 +112,7 @@ const unlocked = computed(() => {
|
||||
:flights="flights"
|
||||
:achievement="achievement"
|
||||
:user="user"
|
||||
:isFollowing="isFollowing"
|
||||
:followStatus="followStatus"
|
||||
:airlines="airlines"
|
||||
:alliance="alliance"
|
||||
:continents="continents"
|
||||
|
||||
Reference in New Issue
Block a user