From c72a49d22905ab3d348d85e0c760cf100411f35d Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 28 Mar 2017 16:34:35 +0100 Subject: [PATCH] More equalses --- src/components/views/settings/Notifications.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/settings/Notifications.js b/src/components/views/settings/Notifications.js index 78bde820a1..b685c1f321 100644 --- a/src/components/views/settings/Notifications.js +++ b/src/components/views/settings/Notifications.js @@ -719,9 +719,9 @@ module.exports = React.createClass({ ); } - const emailThreepids = this.props.threepids.filter((tp) => tp.medium == "email"); + const emailThreepids = this.props.threepids.filter((tp) => tp.medium === "email"); let emailNotificationsRow; - if (emailThreepids.length == 0) { + if (emailThreepids.length === 0) { emailNotificationsRow =
Add an email address above to configure email notifications
;