mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 18:00:47 +02:00
Fill download page
Add Library Selector
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<MangaDetailPage :manga="manga">
|
||||
<ChaptersList v-if="manga" :manga-id="manga.key" />
|
||||
<template #actions>
|
||||
<LibrarySelect :library-id="libraryId" />
|
||||
<UButton variant="soft" color="warning" icon="i-lucide-trash" />
|
||||
</template>
|
||||
</MangaDetailPage>
|
||||
@@ -17,4 +18,5 @@ const { data: manga } = await useApi('/v2/Manga/{MangaId}', {
|
||||
path: { MangaId: mangaId },
|
||||
key: FetchKeys.Manga.Id(mangaId),
|
||||
});
|
||||
const libraryId = ref(manga.value?.fileLibraryId);
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user