mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-17 10:50:46 +02:00
16 lines
630 B
Vue
16 lines
630 B
Vue
<template>
|
|
<MangaDetailPage :manga="manga" title="Merge with">
|
|
<USkeleton v-if="!mangas" class="w-full h-[350px]" />
|
|
<MangaCardList :manga="mangas" @click="(m) => navigateTo(`/manga/${mangaId}/merge/${m.key}?return=${$route.fullPath}`)" />
|
|
</MangaDetailPage>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const mangaId = useRoute().params.mangaId as string;
|
|
|
|
const { data: manga } = await useApi('/v2/Manga/{MangaId}', { path: { MangaId: mangaId }, key: FetchKeys.Manga.Id(mangaId) });
|
|
const { data: mangas } = await useApi('/v2/Manga', { key: FetchKeys.Manga.All });
|
|
|
|
useHead({ title: 'Merge Manga' });
|
|
</script>
|