From 6b4e6a85b33409961ba113f8a116f58baceeffd4 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Tue, 29 Aug 2023 13:23:27 -0700
Subject: fix(list): only update end time on initial load

---
 src/lib/List/Due/MangaList.svelte | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(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 003284fc..3e0a956d 100644
--- a/src/lib/List/Due/MangaList.svelte
+++ b/src/lib/List/Due/MangaList.svelte
@@ -84,7 +84,10 @@
 					  ($roundDownChapters === 'true' ? Math.floor(item.episodes) : item.episodes))
 			);
 		});
-		endTime = performance.now() - startTime;
+
+		if (!endTime) {
+			endTime = performance.now() - startTime;
+		}
 
 		return finalMedia;
 	};
-- 
cgit v1.2.3

