diff options
| author | Fuwn <[email protected]> | 2026-05-21 13:14:13 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-05-21 13:14:13 +0000 |
| commit | 5379e8e8d7595256266c480e09064cf9afd312aa (patch) | |
| tree | 893d3435e17a30cfafda6163cc24a97a36787c26 /src/lib/List/Anime/CleanAnimeList.svelte | |
| parent | fix(select): cap width to container to prevent mobile overflow (diff) | |
| download | due.moe-5379e8e8d7595256266c480e09064cf9afd312aa.tar.xz due.moe-5379e8e8d7595256266c480e09064cf9afd312aa.zip | |
fix(lists): cross-trigger Upcoming and Due refresh on airing/interval
Countdown timeout in CleanAnimeList and keyCacher interval in
DueAnimeList only reassigned their own animeLists, so an episode
airing on Upcoming never propagated to Due (and vice versa) until
a manual refresh. Bump revalidateAnime instead, so both panels
refresh through the shared reactive path.
Diffstat (limited to 'src/lib/List/Anime/CleanAnimeList.svelte')
| -rw-r--r-- | src/lib/List/Anime/CleanAnimeList.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/List/Anime/CleanAnimeList.svelte b/src/lib/List/Anime/CleanAnimeList.svelte index 76701a93..23d87a97 100644 --- a/src/lib/List/Anime/CleanAnimeList.svelte +++ b/src/lib/List/Anime/CleanAnimeList.svelte @@ -169,7 +169,7 @@ const scheduleAiringRefresh = () => { m.nextAiringEpisode?.airingAt && m.nextAiringEpisode.airingAt < now, ) ) - animeLists = cleanCache(user, $identity); + $revalidateAnime = $revalidateAnime + 1; scheduleAiringRefresh(); }, |