Merge pull request #104 in DNS/adguard-dns from fix/442 to master
* commit '903c1da993c24ab4a338a3cee22c947a8fcc2e19': Remove change_language call on loading app Pass two-letter language code
This commit is contained in:
commit
4ae91f0c1b
|
@ -39,9 +39,7 @@ class App extends Component {
|
||||||
const { processing, language } = this.props.dashboard;
|
const { processing, language } = this.props.dashboard;
|
||||||
|
|
||||||
if (!processing) {
|
if (!processing) {
|
||||||
if (!language) {
|
if (language) {
|
||||||
this.props.changeLanguage(i18n.language);
|
|
||||||
} else {
|
|
||||||
i18n.changeLanguage(language);
|
i18n.changeLanguage(language);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue