diff options
| author | Fuwn <[email protected]> | 2024-01-02 13:35:55 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-02 13:35:55 -0800 |
| commit | 2b95f2592da95477fae1a033b72340a6a3e8c6e3 (patch) | |
| tree | 255f94d39a91950b512b1661cd15b8f2aa330cd9 /src/lib/Tools | |
| parent | fix(html): better limit list height (diff) | |
| download | due.moe-2b95f2592da95477fae1a033b72340a6a3e8c6e3.tar.xz due.moe-2b95f2592da95477fae1a033b72340a6a3e8c6e3.zip | |
fix(wrapped): default completed to 0
Diffstat (limited to 'src/lib/Tools')
| -rw-r--r-- | src/lib/Tools/Wrapped.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Tools/Wrapped.svelte b/src/lib/Tools/Wrapped.svelte index b0b58890..07c722ee 100644 --- a/src/lib/Tools/Wrapped.svelte +++ b/src/lib/Tools/Wrapped.svelte @@ -545,7 +545,7 @@ Time Watched: {((minutesWatched || 0) / 60 / 24).toFixed(2)} days </div> <div class="grid-item"> - Completed: {animeList?.length} + Completed: {animeList?.length || 0} </div> <div class="grid-item">Episodes: {episodes}</div> </div> @@ -557,7 +557,7 @@ Time Read: {estimatedDayReading(chapters).toFixed(2)} days </div> <div class="grid-item"> - Completed: {mangaList?.length} + Completed: {mangaList?.length || 0} </div> <div class="grid-item"> Chapters: {chapters} |