From 53d31dc6f84ecea46b12f17c15a346d1baafa30f Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 1 Oct 2023 15:58:10 -0700 Subject: feat(title): fix count to number type --- src/lib/List/ListTitle.svelte | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib/List/ListTitle.svelte') diff --git a/src/lib/List/ListTitle.svelte b/src/lib/List/ListTitle.svelte index 0cfc1273..72684b92 100644 --- a/src/lib/List/ListTitle.svelte +++ b/src/lib/List/ListTitle.svelte @@ -1,12 +1,14 @@ - {custom.length !== 0 ? custom : anime ? 'Anime' : 'Manga & Light Novels'} [{count}] + {custom.length !== 0 ? custom : anime ? 'Anime' : 'Manga & Light Novels'} [{count === -1337 + ? '...' + : count}] {time ? time.toFixed(3) : '...'}s -- cgit v1.2.3