Trying to get available list of langs in profile
This commit is contained in:
parent
e223ddb643
commit
829fae4f07
2 changed files with 1 additions and 2 deletions
|
|
@ -202,7 +202,7 @@ class Profile extends React.Component {
|
|||
{langName[i18n.language]}
|
||||
</button>
|
||||
<div className="dropdown-menu">
|
||||
{i18n.languages.map(lang => (
|
||||
{Object.keys(i18n.services.resourceStore.data).map(lang => (
|
||||
<button
|
||||
className="dropdown-item"
|
||||
onClick={() => this.onLangSelect(lang)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue