diff options
| author | Fuwn <[email protected]> | 2023-09-01 00:08:40 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-09-01 00:08:40 -0700 |
| commit | 0b957291eb52a31c5b96ec92dab5bbb64125291a (patch) | |
| tree | afc0996f56ca617a964ccc418ef8ae1e3d8e0334 /src/lib/List/Due/AnimeList.svelte | |
| parent | fix(page): user identity getter (diff) | |
| download | due.moe-0b957291eb52a31c5b96ec92dab5bbb64125291a.tar.xz due.moe-0b957291eb52a31c5b96ec92dab5bbb64125291a.zip | |
fix(due): better increment follow-up
Diffstat (limited to 'src/lib/List/Due/AnimeList.svelte')
| -rw-r--r-- | src/lib/List/Due/AnimeList.svelte | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/List/Due/AnimeList.svelte b/src/lib/List/Due/AnimeList.svelte index 39916f19..4257c922 100644 --- a/src/lib/List/Due/AnimeList.svelte +++ b/src/lib/List/Due/AnimeList.svelte @@ -121,10 +121,7 @@ }; const updateMedia = async (id: number, progress: number | undefined) => { - anime.set(''); - animeLastPrune.set('1'); - - animeLists = mediaListCollection(user, identity, Type.Anime, $anime, $animeLastPrune); + animeLists = mediaListCollection(user, identity, Type.Anime, $anime, $animeLastPrune, true); await fetch(`/anilist/increment?id=${id}&progress=${progress! + 1}`); }; |