From d467b310701b1b2b870d9e6a87d1ada25183c0e1 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 1 Oct 2023 15:55:11 -0700
Subject: feat(anime): completed as prop

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

(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 d43d76ed..eb0b9eca 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -14,6 +14,7 @@
 	export let identity: UserIdentity;
 	export let endTime: number;
 	export let lastUpdatedMedia: number;
+	export let completed = false;
 </script>
 
 <ListTitle time={endTime / 1000} count={media.length} custom={title} />
@@ -59,7 +60,7 @@
 							lastUpdatedMedia = anime.id;
 						})}>+</a
 				>
-				{#if !title.includes('Completed')}
+				{#if !completed}
 					[{anime.nextAiringEpisode?.episode === -1
 						? '?'
 						: (anime.nextAiringEpisode?.episode || 1) - 1}]
-- 
cgit v1.2.3

