From effe9f3133313ab033f2f12afece6eaedc01cb5f Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 17 Apr 2026 15:05:47 +0000 Subject: fix(ui): hide list count badge when no media is displayed Showing "0" in the list title next to a "No anime/manga to display" empty-state message duplicates information. Treat an empty media list the same as dummy mode and suppress the count. --- src/lib/List/Manga/CleanMangaList.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/List/Manga') diff --git a/src/lib/List/Manga/CleanMangaList.svelte b/src/lib/List/Manga/CleanMangaList.svelte index 9f24bbdd..a52a9d7e 100644 --- a/src/lib/List/Manga/CleanMangaList.svelte +++ b/src/lib/List/Manga/CleanMangaList.svelte @@ -140,7 +140,7 @@ const increment = (manga: Media) => { ? $locale().lists.due.mangaAndLightNovels : $locale().lists.completed.mangaAndLightNovels} hideTime={dummy} - hideCount={dummy} + hideCount={dummy || media.length === 0} > {#if !dummy}