summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorDavid Lu <david.lu@hotmail.com>2016-06-06 09:59:03 -0700
committerHarrison Healey <harrisonmhealey@gmail.com>2016-06-06 12:59:03 -0400
commit65161889074057f265148013193ae80d315ace11 (patch)
tree7e747674f86995100d3f4bee4eb585da50cd0544 /webapp
parentba8aafddf436157598a6903912b7772d1e8f9608 (diff)
downloadchat-65161889074057f265148013193ae80d315ace11.tar.gz
chat-65161889074057f265148013193ae80d315ace11.tar.bz2
chat-65161889074057f265148013193ae80d315ace11.zip
Fixed (#3264)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/user_settings/user_settings_notifications.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/user_settings/user_settings_notifications.jsx b/webapp/components/user_settings/user_settings_notifications.jsx
index 2daf920c7..6749180f9 100644
--- a/webapp/components/user_settings/user_settings_notifications.jsx
+++ b/webapp/components/user_settings/user_settings_notifications.jsx
@@ -906,7 +906,9 @@ class NotificationsTab extends React.Component {
let describe = '';
for (var i = 0; i < keys.length; i++) {
- describe += '"' + keys[i] + '", ';
+ if (keys[i] !== '') {
+ describe += '"' + keys[i] + '", ';
+ }
}
if (describe.length > 0) {