Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: can't mark shared document as done (#415)

dev-rb91e4e04f15bd
diff --git a/js/app/packages/notifications/notification-helpers.ts b/js/app/packages/notifications/notification-helpers.ts
index f4851ca4a0..2dddf30fc9 100644
--- a/js/app/packages/notifications/notification-helpers.ts
+++ b/js/app/packages/notifications/notification-helpers.ts
@@ -64,8 +64,10 @@ export function entityHasUnreadNotifications(
const notifications = notificationSource.store[compositeEntity(entity)] ?? [];
return notifications.some((notification) => {
- notificationIsOfEntity(notification, entity) &&
- !notificationIsRead(notification);
+ return (
+ notificationIsOfEntity(notification, entity) &&
+ !notificationIsRead(notification)
+ );
});
}