Fill download page

Add Library Selector
This commit is contained in:
2025-10-12 02:21:44 +02:00
parent 25b7ef5495
commit f0bacc86bd
6 changed files with 102 additions and 23 deletions

View File

@@ -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>