diff options
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 |
commit | e863096358dd64ecf2de6efeec3db132cdc8d6b9 (patch) | |
tree | e4b98ae37f280415fb62cff83f2da76d39e8752b /web/react/components/user_profile.jsx | |
parent | 9baef5a6a033fea2ff5499ee9969c6cd65efef0c (diff) | |
download | chat-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.jsx | 2 |
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>'; |