Added splash page
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import {Achievement, Airline, Continent, Region, User, UserAchievement} from "@/Types/types";
|
||||
import {Achievement, Airline, Alliance, Continent, Region, User, UserAchievement} from "@/Types/types";
|
||||
import ProfileLayout from "@/Components/FlightsGoneBy/ProfileLayout.vue";
|
||||
import Panel from "@/Components/FlightsGoneBy/Panels/Panel.vue";
|
||||
import {computed, defineAsyncComponent} from 'vue';
|
||||
@@ -21,9 +21,8 @@ const props = defineProps<{
|
||||
user: User
|
||||
loggedInUser: User | null
|
||||
followStatus: string
|
||||
flight_api_url: string
|
||||
regions: Region[]
|
||||
alliance: string | null
|
||||
alliance: Alliance | null
|
||||
airlines: Airline[]
|
||||
continents: Continent[]
|
||||
aircraft_families: Record<string, string[]>
|
||||
@@ -32,7 +31,7 @@ const props = defineProps<{
|
||||
}>()
|
||||
|
||||
|
||||
const { flights, flightsLoading } = useFlights(props.flight_api_url, true)
|
||||
const { flights, flightsLoading } = useFlights(`/internal/user/${props.user.name}/flights/departed`)
|
||||
|
||||
const AchievementDetail = defineAsyncComponent(
|
||||
() => import(`./Achievements/${props.achievement.internal_name}.vue`)
|
||||
|
||||
Reference in New Issue
Block a user