From 80431273198faedf37b58049036ce257895192b2 Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Thu, 7 Jul 2022 14:39:22 -0600 Subject: [PATCH] Pass limit > 0 --- web/components/nav/sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 45c37aa2..6ab095ef 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -270,7 +270,7 @@ function GroupsList(props: { { customHref: '/group/', }, - memberItems.length + memberItems.length > 0 ? memberItems.length : undefined ) // Set notification as seen if our current page is equal to the isSeenOnHref property