diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-05-11 16:18:48 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-05-11 16:18:48 -0400 |
commit | e22bab5be03337e39c14bffc911dac1bd7385ed4 (patch) | |
tree | 0b6c30e1cd01ea1070680d056547323d9c79a3e7 /webapp/components/header_footer_template.jsx | |
parent | c789eeceb107272f3132490a204d465af28b33d9 (diff) | |
download | chat-e22bab5be03337e39c14bffc911dac1bd7385ed4.tar.gz chat-e22bab5be03337e39c14bffc911dac1bd7385ed4.tar.bz2 chat-e22bab5be03337e39c14bffc911dac1bd7385ed4.zip |
PLT-6566 Prevented terms of service link from being blank (#6392)
Diffstat (limited to 'webapp/components/header_footer_template.jsx')
-rw-r--r-- | webapp/components/header_footer_template.jsx | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/webapp/components/header_footer_template.jsx b/webapp/components/header_footer_template.jsx index c41d7ee41..6fb9c9046 100644 --- a/webapp/components/header_footer_template.jsx +++ b/webapp/components/header_footer_template.jsx @@ -33,20 +33,18 @@ export default class NotLoggedIn extends React.Component { ); } - if (global.window.mm_config.TermsOfServiceLink) { - content.push( - <a - key='terms_link' - id='terms_link' - className='pull-right footer-link' - target='_blank' - rel='noopener noreferrer' - href={global.window.mm_config.TermsOfServiceLink} - > - <FormattedMessage id='web.footer.terms'/> - </a> - ); - } + content.push( + <a + key='terms_link' + id='terms_link' + className='pull-right footer-link' + target='_blank' + rel='noopener noreferrer' + href={global.window.mm_config.TermsOfServiceLink} + > + <FormattedMessage id='web.footer.terms'/> + </a> + ); if (global.window.mm_config.PrivacyPolicyLink) { content.push( |