forked from MapComplete/MapComplete
LanguagePicker now has a proper constructor
This commit is contained in:
parent
8047f69fea
commit
51a6756dd4
6 changed files with 29 additions and 30 deletions
|
@ -62,7 +62,7 @@ export default class ImportHelperGui extends LeftIndex {
|
|||
}),
|
||||
toc,
|
||||
new Toggle(t.testMode.SetClass("block alert"), undefined, state.featureSwitchIsTesting),
|
||||
LanguagePicker.CreateLanguagePicker(Translations.t.importHelper.title.SupportedLanguages())?.SetClass("mt-4 self-end flex-col"),
|
||||
new LanguagePicker(Translations.t.importHelper.title.SupportedLanguages(), "")?.SetClass("mt-4 self-end flex-col"),
|
||||
].map(el => el?.SetClass("pl-4"))
|
||||
|
||||
super(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue