mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
fix: unreadcount messages maximum of 9999+
This commit is contained in:
parent
e499b22d94
commit
26bb1e8526
|
@ -170,7 +170,11 @@ export const ConversationListItemHeaderItem = () => {
|
|||
@
|
||||
</MentionAtSymbol>
|
||||
) : null;
|
||||
unreadCountDiv = <p className="module-conversation-list-item__unread-count">{unreadCount}</p>;
|
||||
unreadCountDiv = (
|
||||
<p className="module-conversation-list-item__unread-count">
|
||||
{unreadCount > 9999 ? '9999+' : unreadCount}
|
||||
</p>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue