From c113683de8f15db6a3419a27bfefe7790bd6a2b1 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 1 Oct 2023 15:41:01 -0700
Subject: fix(anime): last updated highlight

---
 src/lib/List/Template/AnimeListTemplate.svelte | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

(limited to 'src/lib/List/Template/AnimeListTemplate.svelte')

diff --git a/src/lib/List/Template/AnimeListTemplate.svelte b/src/lib/List/Template/AnimeListTemplate.svelte
index 0093c2a9..c75b166a 100644
--- a/src/lib/List/Template/AnimeListTemplate.svelte
+++ b/src/lib/List/Template/AnimeListTemplate.svelte
@@ -14,6 +14,8 @@
 	export let user: AniListAuthorisation;
 	export let identity: UserIdentity;
 	export let title: string;
+
+	let lastUpdatedMedia = -1;
 </script>
 
 {#await animeLists}
@@ -23,7 +25,15 @@
 {:then media}
 	{@const cleanedMedia = cleanMedia(media, $settings.displayUnresolved)}
 
-	<CleanAnimeList media={cleanedMedia} {title} bind:animeLists {user} {identity} {endTime} />
+	<CleanAnimeList
+		media={cleanedMedia}
+		{title}
+		bind:animeLists
+		{user}
+		{identity}
+		{endTime}
+		bind:lastUpdatedMedia
+	/>
 {:catch}
 	<ListTitle time={0} count={'?'} custom={title} />
 
-- 
cgit v1.2.3

