aboutsummaryrefslogtreecommitdiff
path: root/src/lib/List/Due/AnimeList.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-09-01 00:08:40 -0700
committerFuwn <[email protected]>2023-09-01 00:08:40 -0700
commit0b957291eb52a31c5b96ec92dab5bbb64125291a (patch)
treeafc0996f56ca617a964ccc418ef8ae1e3d8e0334 /src/lib/List/Due/AnimeList.svelte
parentfix(page): user identity getter (diff)
downloaddue.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.svelte5
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}`);
};