mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
Change sidebar_title to sidebar_label
This commit is contained in:
parent
18bcc59fd0
commit
c8e4dc343c
2 changed files with 4 additions and 4 deletions
|
@ -71,7 +71,7 @@ class SideNav extends React.Component {
|
|||
getLocalizedString(metadata) {
|
||||
let localizedString;
|
||||
const i18n = translation[this.props.language];
|
||||
const sbTitle = metadata.sidebar_title;
|
||||
const sbTitle = metadata.sidebar_label;
|
||||
|
||||
if (sbTitle) {
|
||||
localizedString = i18n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue