From 16414cf2d847436091cadb4376f5beef7e6ced62 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Tue, 3 Oct 2023 14:25:52 -0700
Subject: feat(anime): no loading on increment

---
 src/lib/List/Anime/CleanAnimeList.svelte | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/lib/List/Anime/CleanAnimeList.svelte')

diff --git a/src/lib/List/Anime/CleanAnimeList.svelte b/src/lib/List/Anime/CleanAnimeList.svelte
index eb0b9eca..40a27d90 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -15,6 +15,7 @@
 	export let endTime: number;
 	export let lastUpdatedMedia: number;
 	export let completed = false;
+	export let previousAnimeList: Media[];
 </script>
 
 <ListTitle time={endTime / 1000} count={media.length} custom={title} />
@@ -56,6 +57,7 @@
 					href={'#'}
 					on:click={() =>
 						updateMedia(anime.id, anime.mediaListEntry?.progress, () => {
+							previousAnimeList = media;
 							animeLists = cleanCache(user, identity);
 							lastUpdatedMedia = anime.id;
 						})}>+</a
-- 
cgit v1.2.3

