summaryrefslogtreecommitdiffstats
path: root/web/react/components/user_profile.jsx
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-21 15:34:09 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-21 15:34:09 -0700
commite863096358dd64ecf2de6efeec3db132cdc8d6b9 (patch)
treee4b98ae37f280415fb62cff83f2da76d39e8752b /web/react/components/user_profile.jsx
parent9baef5a6a033fea2ff5499ee9969c6cd65efef0c (diff)
downloadchat-e863096358dd64ecf2de6efeec3db132cdc8d6b9.tar.gz
chat-e863096358dd64ecf2de6efeec3db132cdc8d6b9.tar.bz2
chat-e863096358dd64ecf2de6efeec3db132cdc8d6b9.zip
Fixing broken signup pages
Diffstat (limited to 'web/react/components/user_profile.jsx')
-rw-r--r--web/react/components/user_profile.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/user_profile.jsx b/web/react/components/user_profile.jsx
index 7cfac69e7..c5d028d31 100644
--- a/web/react/components/user_profile.jsx
+++ b/web/react/components/user_profile.jsx
@@ -57,7 +57,7 @@ export default class UserProfile extends React.Component {
}
var dataContent = '<img class="user-popover__image" src="/api/v1/users/' + this.state.profile.id + '/image?time=' + this.state.profile.update_at + '" height="128" width="128" />';
- if (!global.window.config.ShowEmailAddress) {
+ if (!global.window.config.ShowEmailAddress === 'true') {
dataContent += '<div class="text-nowrap">Email not shared</div>';
} else {
dataContent += '<div data-toggle="tooltip" title="' + this.state.profile.email + '"><a href="mailto:' + this.state.profile.email + '" class="text-nowrap text-lowercase user-popover__email">' + this.state.profile.email + '</a></div>';