diff options
| author | Fuwn <[email protected]> | 2023-09-29 17:18:42 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-09-29 17:18:42 -0700 |
| commit | c55584a489a167df8b0e96adb0958eafb27501b1 (patch) | |
| tree | 84d4468db32b7bdb62b9cb215c4329a7f0c6c179 /src/routes/completed | |
| parent | refactor(list): move to respective modules (diff) | |
| download | due.moe-c55584a489a167df8b0e96adb0958eafb27501b1.tar.xz due.moe-c55584a489a167df8b0e96adb0958eafb27501b1.zip | |
refactor(manga): use template
Diffstat (limited to 'src/routes/completed')
| -rw-r--r-- | src/routes/completed/+page.svelte | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/routes/completed/+page.svelte b/src/routes/completed/+page.svelte index 4c2537a8..22840c48 100644 --- a/src/routes/completed/+page.svelte +++ b/src/routes/completed/+page.svelte @@ -3,10 +3,10 @@ import { userIdentity as getUserIdentity } from '$lib/AniList/identity'; import userIdentity from '../../stores/userIdentity'; import settings from '../../stores/settings'; - import WatchingAnimeList from '$lib/List/WatchingAnimeList.svelte'; + import WatchingAnimeList from '$lib/List/Completed/WatchingAnimeList.svelte'; import { lastActivityDate } from '$lib/AniList/activity'; import ListTitle from '$lib/List/ListTitle.svelte'; - import CompletedMangaList from '$lib/List/CompletedMangaList.svelte'; + import MangaListTemplate from '$lib/List/Template/MangaListTemplate.svelte'; export let data; @@ -93,10 +93,11 @@ <details open={!$settings.closeMangaByDefault} class="list"> {#if currentUserIdentity.id != -1} - <CompletedMangaList + <MangaListTemplate user={data.user} identity={currentUserIdentity} displayUnresolved={$settings.displayUnresolved} + due={false} /> {:else} <ListTitle custom="Completed Anime" /> |