LanguagePicker now has a proper constructor
This commit is contained in:
parent
8047f69fea
commit
51a6756dd4
6 changed files with 29 additions and 30 deletions
|
@ -98,7 +98,7 @@ class ProfessionalGui extends LeftIndex {
|
|||
maxDepth: 2
|
||||
}).SetClass("subtle"),
|
||||
|
||||
LanguagePicker.CreateLanguagePicker(Translations.t.professional.title.SupportedLanguages())?.SetClass("mt-4 self-end flex-col"),
|
||||
new LanguagePicker(Translations.t.professional.title.SupportedLanguages(), "")?.SetClass("mt-4 self-end flex-col"),
|
||||
].map(el => el?.SetClass("pl-4"))
|
||||
|
||||
super(leftContents, content)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue