From 402695c2e362b95a315db052bb476a5e868d1895 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 25 Sep 2023 23:10:16 -0400 Subject: [PATCH] fix: Remove zero count on drafts --- app/components/Sidebar/App.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/components/Sidebar/App.tsx b/app/components/Sidebar/App.tsx index 00c8949d4..84de17ab5 100644 --- a/app/components/Sidebar/App.tsx +++ b/app/components/Sidebar/App.tsx @@ -109,9 +109,11 @@ function AppSidebar() { label={ {t("Drafts")} - - {documents.totalDrafts} - + {documents.totalDrafts > 0 ? ( + + {documents.totalDrafts} + + ) : null} } />