summaryrefslogtreecommitdiffstats
path: root/web/react/components/user_settings/user_settings_notifications.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-24 09:02:49 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-24 09:02:49 -0500
commit99cbbf45dcbfae93b86703c1ba24c5e763932f39 (patch)
treedc769a58ab30aaa08be7b60ae972631294ea3448 /web/react/components/user_settings/user_settings_notifications.jsx
parent2090f6ad572e68ca56f1df44884fd02c5e92ad23 (diff)
parent30bf72262ef3f85ad0ad24ea8e57a14415464af3 (diff)
downloadchat-99cbbf45dcbfae93b86703c1ba24c5e763932f39.tar.gz
chat-99cbbf45dcbfae93b86703c1ba24c5e763932f39.tar.bz2
chat-99cbbf45dcbfae93b86703c1ba24c5e763932f39.zip
Merge pull request #1502 from mattermost/disable-all
Disabling the all mention
Diffstat (limited to 'web/react/components/user_settings/user_settings_notifications.jsx')
-rw-r--r--web/react/components/user_settings/user_settings_notifications.jsx10
1 files changed, 6 insertions, 4 deletions
diff --git a/web/react/components/user_settings/user_settings_notifications.jsx b/web/react/components/user_settings/user_settings_notifications.jsx
index e36aed395..e025bf670 100644
--- a/web/react/components/user_settings/user_settings_notifications.jsx
+++ b/web/react/components/user_settings/user_settings_notifications.jsx
@@ -512,7 +512,7 @@ export default class NotificationsTab extends React.Component {
}.bind(this);
inputs.push(
<div key='userNotificationAllOption'>
- <div className='checkbox'>
+ <div className='checkbox hidden'>
<label>
<input
type='checkbox'
@@ -590,9 +590,11 @@ export default class NotificationsTab extends React.Component {
if (this.state.mentionKey) {
keys.push('@' + user.username);
}
- if (this.state.allKey) {
- keys.push('@all');
- }
+
+ // if (this.state.allKey) {
+ // keys.push('@all');
+ // }
+
if (this.state.channelKey) {
keys.push('@channel');
}