mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-14 01:27:35 +02:00
Issue 305 broken link because of language fixes (#322)
* without having having to worry about site design. Let me know if double having is intentional * distinguish case of no translation and en lang * prettier recommends * distinguish case of no translation and en lang * prettier recommends * merge with latest origin/master changes * typo * link with language fixes * do not show language dropdown if only one enabled * check translation outside of LanguageDropDown.render
This commit is contained in:
parent
4a3da1f30a
commit
a5e963dba1
8 changed files with 177 additions and 175 deletions
|
@ -38,6 +38,7 @@ class Doc extends React.Component {
|
|||
|
||||
// If internationalization is enabled, show Recruiting link instead of Edit Link.
|
||||
if (
|
||||
this.props.language &&
|
||||
this.props.language != 'en' &&
|
||||
this.props.config.translationRecruitingLink
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue