From 5560f4c8ae599997941a1ed1fb94034dccc420f8 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 27 Aug 2023 18:55:31 -0700 Subject: fix(list): update ui on increment --- src/lib/List/Due/MangaList.svelte | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/List/Due/MangaList.svelte') diff --git a/src/lib/List/Due/MangaList.svelte b/src/lib/List/Due/MangaList.svelte index 549c6008..4f7dd595 100644 --- a/src/lib/List/Due/MangaList.svelte +++ b/src/lib/List/Due/MangaList.svelte @@ -88,6 +88,9 @@ }; const updateMedia = async (id: number, progress: number | undefined) => { + manga.set(''); + mangaLastPrune.set('1'); + mangaLists = mediaListCollection(user, identity, Type.Manga, $manga, $mangaLastPrune); await fetch(`/anilist/increment?id=${id}&progress=${progress! + 1}`); -- cgit v1.2.3