PLT-6566 Prevented terms of service link from being blank (#6392)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
c789eeceb1
Коммит
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(
|
||||
|
||||
Ссылка в новой задаче
Block a user