mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Исправлено определение первого языка по клику на Enter в поле фильтрации языков
This commit is contained in:
@@ -190,7 +190,7 @@ class LanguageSwitcher extends Component {
|
||||
return;
|
||||
}
|
||||
|
||||
const locales = Object.keys(this.props.langs);
|
||||
const locales = Object.keys(this.state.filteredLangs);
|
||||
if (locales.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user