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(notifications): missing check for notification permission explicitly denied (#374)

teoa318717029e5
diff --git a/js/app/packages/notifications/components/BrowserNotificationModal.tsx b/js/app/packages/notifications/components/BrowserNotificationModal.tsx
index 43f27497d0..fbc1ec07cf 100644
--- a/js/app/packages/notifications/components/BrowserNotificationModal.tsx
+++ b/js/app/packages/notifications/components/BrowserNotificationModal.tsx
@@ -29,6 +29,7 @@ function useBrowserNotificationModal() {
return (
permission !== undefined &&
permission !== 'granted' &&
+ permission !== 'denied' &&
permission !== 'disabled-in-ui'
);
});