mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
PLT-6566 Prevented terms of service link from being blank (#6392)
This commit is contained in:
committed by
Joram Wilander
parent
c789eeceb1
commit
e22bab5be0
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user