Change sidebar_title to sidebar_label

This commit is contained in:
Frank Li 2017-08-09 17:10:07 -07:00
parent 18bcc59fd0
commit c8e4dc343c
2 changed files with 4 additions and 4 deletions

View file

@ -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