From 3004432666040803d4374e5aa14bd719af8974f7 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 21 Mar 2022 13:42:59 -0700 Subject: [PATCH] Hardcode email notifications in UI to false --- webroot/js/components/notification.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webroot/js/components/notification.js b/webroot/js/components/notification.js index 146d3266c..bd5461012 100644 --- a/webroot/js/components/notification.js +++ b/webroot/js/components/notification.js @@ -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.