mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-02-23 13:43:07 +01:00
fix inbox tab unread badge visible without invite count
This commit is contained in:
parent
b0654cb10d
commit
925f6407f2
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export function InboxTab() {
|
|||
tooltip="Inbox"
|
||||
avatarChildren={<Icon src={Icons.Bell} filled={inboxSelected} />}
|
||||
onClick={() => navigate(getInboxPath())}
|
||||
notificationBadge={() => <UnreadBadge highlight count={inviteCount} />}
|
||||
notificationBadge={() => inviteCount > 0 && <UnreadBadge highlight count={inviteCount} />}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue