From 5891b793790af0a6b9de0515c81b43590cbb0674 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Wed, 4 Oct 2023 18:06:49 -0700
Subject: fix(manga): increment reset reactive

---
 src/lib/List/CleanMangaList.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/lib/List/CleanMangaList.svelte')

diff --git a/src/lib/List/CleanMangaList.svelte b/src/lib/List/CleanMangaList.svelte
index 903fed5d..e2f4be9e 100644
--- a/src/lib/List/CleanMangaList.svelte
+++ b/src/lib/List/CleanMangaList.svelte
@@ -12,7 +12,7 @@
 		media: Media[]
 	) => Promise<void>;
 	export let disableIncrement = false;
-	export let pendingUpdate: boolean;
+	export let pendingUpdate: number | null;
 </script>
 
 <ListTitle count={media.length} time={endTime / 1000}>
@@ -40,7 +40,7 @@
 				{/if}
 			</a>
 			<span style="opacity: 50%;">|</span>
-			{pendingUpdate ? progress + 1 : progress}
+			{pendingUpdate === manga.id ? progress + 1 : progress}
 			<a
 				href={'#'}
 				style={disableIncrement ? 'pointer-events: none; opacity: 50%;' : ''}
-- 
cgit v1.2.3

