diff options
Diffstat (limited to 'src/lib/List/ListTitle.svelte')
| -rw-r--r-- | src/lib/List/ListTitle.svelte | 6 |
1 files changed, 4 insertions, 2 deletions
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 @@ <script lang="ts"> export let time: number | undefined = undefined; - export let count: number | string = '...'; + export let count = -1337; export let anime = false; export let custom = ''; </script> <summary> - {custom.length !== 0 ? custom : anime ? 'Anime' : 'Manga & Light Novels'} [{count}] + {custom.length !== 0 ? custom : anime ? 'Anime' : 'Manga & Light Novels'} [{count === -1337 + ? '...' + : count}] <small style="opacity: 50%">{time ? time.toFixed(3) : '...'}s</small> <slot /> </summary> |