From 2000b8695898070020b55727fd7f6a026f7e6687 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 23 Oct 2023 11:51:16 -0700
Subject: fix(list): compare episodes to progress highlight

---
 src/lib/List/Anime/CleanAnimeList.svelte | 2 +-
 1 file changed, 1 insertion(+), 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 d480aca7..30443e83 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -44,7 +44,7 @@
 					: `https://anilist.co/anime/${anime.id}`}
 				target="_blank"
 			>
-				{#if lastUpdatedMedia === anime.id && anime.mediaListEntry?.progress !== progress}
+				{#if lastUpdatedMedia === anime.id && anime.episodes !== progress}
 					<span style="color: lightcoral">
 						{anime.title.english || anime.title.romaji || anime.title.native}
 					</span>
-- 
cgit v1.2.3

