Browse Source

Hardcode email notifications in UI to false

pull/1799/head
Gabe Kangas 3 years ago
parent
commit
3004432666
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 4
      webroot/js/components/notification.js

4
webroot/js/components/notification.js

@ -30,11 +30,11 @@ export function NotifyModal({ notifications, streamName, accessToken }) { @@ -30,11 +30,11 @@ export function NotifyModal({ notifications, streamName, accessToken }) {
const [browserPushPermissionsPending, setBrowserPushPermissionsPending] =
useState(false);
const { browser, email } = notifications;
const { browser } = notifications;
const { publicKey } = browser;
const browserPushEnabled = browser.enabled && isPushNotificationSupported();
let emailEnabled = email.enabled;
let emailEnabled = false;
// Store that the user has opened the notifications modal at least once
// so we don't ever need to remind them to do it again.

Loading…
Cancel
Save