aboutsummaryrefslogtreecommitdiff
path: root/src/lib/List/UpcomingAnimeList.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-09-03 18:36:53 -0700
committerFuwn <[email protected]>2023-09-03 18:36:53 -0700
commit92293c66156e49f801fed6e8cc0996fd88f5f33b (patch)
tree155c66f6103987a88ddcde2af46ee7c79cc47177 /src/lib/List/UpcomingAnimeList.svelte
parentfix(media): cache minutes from settings (diff)
downloaddue.moe-92293c66156e49f801fed6e8cc0996fd88f5f33b.tar.xz
due.moe-92293c66156e49f801fed6e8cc0996fd88f5f33b.zip
feat(settings): move last prune times to store
Diffstat (limited to 'src/lib/List/UpcomingAnimeList.svelte')
-rw-r--r--src/lib/List/UpcomingAnimeList.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/List/UpcomingAnimeList.svelte b/src/lib/List/UpcomingAnimeList.svelte
index 88b2cca0..87343032 100644
--- a/src/lib/List/UpcomingAnimeList.svelte
+++ b/src/lib/List/UpcomingAnimeList.svelte
@@ -5,7 +5,7 @@
import type { UserIdentity, AniListAuthorisation } from '$lib/AniList/identity';
import { onMount } from 'svelte';
import anime from '../../stores/anime';
- import animeLastPrune from '../../stores/mangaLastPrune';
+ import lastPruneTimes from '../../stores/lastPruneTimes';
export let user: AniListAuthorisation;
export let identity: UserIdentity;
@@ -17,7 +17,7 @@
onMount(async () => {
startTime = performance.now();
- animeLists = mediaListCollection(user, identity, Type.Anime, $anime, $animeLastPrune);
+ animeLists = mediaListCollection(user, identity, Type.Anime, $anime, $lastPruneTimes.anime);
});
const cleanMedia = (media: { entries: { media: Media }[] }[], displayUnresolved: boolean) => {