Remove _context from language picker
This commit is contained in:
parent
db9aa8ab72
commit
1231cd50e1
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@ export default class LanguagePicker {
|
|||
}
|
||||
|
||||
private static dropdownFor(languages: string[], label: string | BaseUIElement): BaseUIElement {
|
||||
return new DropDown(label, languages.map(lang => {
|
||||
return new DropDown(label, languages
|
||||
.filter(lang => lang !== "_context")
|
||||
.map(lang => {
|
||||
return {value: lang, shown: LanguagePicker.hybrid(lang) }
|
||||
}
|
||||
), Locale.language)
|
||||
|
|
Loading…
Reference in a new issue