feat: Display notification count in sidebar inbox item (#12324)

This commit is contained in:
Sivin Varghese
2025-09-01 15:55:09 +05:30
committed by GitHub
parent c53e750be0
commit d68ac25187
4 changed files with 26 additions and 11 deletions

View File

@@ -94,12 +94,7 @@ const loadMoreNotifications = () => {
const markNotificationAsRead = async notificationItem => {
useTrack(INBOX_EVENTS.MARK_NOTIFICATION_AS_READ);
const {
id,
primary_actor_id: primaryActorId,
primary_actor_type: primaryActorType,
} = notificationItem;
const { id, primaryActorId, primaryActorType } = notificationItem;
try {
await store.dispatch('notifications/read', {
id,