From 79db09bd15e0aa370b2cc1f56aaab7b82ebd51e3 Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Mon, 2 Mar 2026 16:42:59 -0800 Subject: [PATCH] Don't show mark all as read if there's nothing to read --- frontend/src/components/Sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Sidebar.tsx b/frontend/src/components/Sidebar.tsx index 44450bc..8debc32 100644 --- a/frontend/src/components/Sidebar.tsx +++ b/frontend/src/components/Sidebar.tsx @@ -602,7 +602,7 @@ export function Sidebar({ )} {/* Mark All Read */} - {!query && Object.keys(unreadCounts).length > 0 && ( + {!query && Object.values(unreadCounts).some((c) => c > 0) && (