From 925f6407f2ad913d6c220006c6a43b8e61c40fe7 Mon Sep 17 00:00:00 2001
From: Ajay Bura <32841439+ajbura@users.noreply.github.com>
Date: Sun, 24 Mar 2024 10:14:37 +0530
Subject: [PATCH] fix inbox tab unread badge visible without invite count
---
src/app/pages/client/sidebar/InboxTab.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/app/pages/client/sidebar/InboxTab.tsx b/src/app/pages/client/sidebar/InboxTab.tsx
index b70fc5ca..e8dc1208 100644
--- a/src/app/pages/client/sidebar/InboxTab.tsx
+++ b/src/app/pages/client/sidebar/InboxTab.tsx
@@ -21,7 +21,7 @@ export function InboxTab() {
tooltip="Inbox"
avatarChildren={}
onClick={() => navigate(getInboxPath())}
- notificationBadge={() => }
+ notificationBadge={() => inviteCount > 0 && }
/>
);
}