From 1e2c754ea1813b87636c405eb10cf135a6517260 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 25 Sep 2023 21:41:53 -0700
Subject: refactor(completed): title component

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

(limited to 'src/lib/List/Due/ListTitle.svelte')

diff --git a/src/lib/List/Due/ListTitle.svelte b/src/lib/List/Due/ListTitle.svelte
index 5a37850c..2aa580d3 100644
--- a/src/lib/List/Due/ListTitle.svelte
+++ b/src/lib/List/Due/ListTitle.svelte
@@ -2,9 +2,11 @@
 	export let time: number | string = '...';
 	export let count: number | string = '...';
 	export let anime = false;
+	export let custom = '';
 </script>
 
 <summary>
-	{anime ? 'Anime' : 'Manga & Light Novels'} [{count}] <small style="opacity: 50%">{time}s</small>
+	{custom.length !== 0 ? custom : anime ? 'Anime' : 'Manga & Light Novels'} [{count}]
+	<small style="opacity: 50%">{time}s</small>
 	<slot />
 </summary>
-- 
cgit v1.2.3

