Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
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.tsindex 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)+ );});}