- fixed counter of unread msgs;
This commit is contained in:
@@ -215,7 +215,7 @@ const NotificationsSidebar = () => {
|
|||||||
<>
|
<>
|
||||||
<i className="pi pi-bell p-overlay-badge topBar__icon notificationsIcon"
|
<i className="pi pi-bell p-overlay-badge topBar__icon notificationsIcon"
|
||||||
onClick={() => setNotificationsVisible(true)}>
|
onClick={() => setNotificationsVisible(true)}>
|
||||||
<Badge value={notifications.length}></Badge>
|
<Badge value={notifications.filter(o => o.status === 'UNREAD').length}></Badge>
|
||||||
</i>
|
</i>
|
||||||
<Sidebar
|
<Sidebar
|
||||||
className="notificationsSidebar"
|
className="notificationsSidebar"
|
||||||
|
|||||||
Reference in New Issue
Block a user