summaryrefslogtreecommitdiffstats
path: root/webapp/components/user_settings/user_settings_notifications.jsx
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-11-29 12:15:46 -0300
committerChristopher Speller <crspeller@gmail.com>2016-11-29 10:15:46 -0500
commit702c4cb12146d4b3d18807d56e013da3aed15836 (patch)
tree9168eb7ca5e86986c98d90c053c53bdedd0e6f2e /webapp/components/user_settings/user_settings_notifications.jsx
parent02d581c1599c5d50cc507bd2633f1e3c34b1cc84 (diff)
downloadchat-702c4cb12146d4b3d18807d56e013da3aed15836.tar.gz
chat-702c4cb12146d4b3d18807d56e013da3aed15836.tar.bz2
chat-702c4cb12146d4b3d18807d56e013da3aed15836.zip
Fix more react warnings & fix saving theme (#4667)
Diffstat (limited to 'webapp/components/user_settings/user_settings_notifications.jsx')
-rw-r--r--webapp/components/user_settings/user_settings_notifications.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/user_settings/user_settings_notifications.jsx b/webapp/components/user_settings/user_settings_notifications.jsx
index 35df53e0e..da7b9d757 100644
--- a/webapp/components/user_settings/user_settings_notifications.jsx
+++ b/webapp/components/user_settings/user_settings_notifications.jsx
@@ -885,7 +885,7 @@ export default class NotificationsTab extends React.Component {
<EmailNotificationSetting
activeSection={this.props.activeSection}
updateSection={this.props.updateSection}
- enableEmail={this.state.enableEmail}
+ enableEmail={this.state.enableEmail === 'true'}
onChange={this.handleEmailRadio}
onSubmit={this.handleSubmit}
serverError={this.state.serverError}