feat: can specify available UI languages for an organization (#1306)

This commit is contained in:
Yaodong Yu
2022-11-19 22:11:19 +08:00
committed by GitHub
parent b98ce19211
commit 19ba37e0c2
17 changed files with 75 additions and 31 deletions

View File

@ -645,7 +645,7 @@ class SignupPage extends React.Component {
{
Setting.renderLogo(application)
}
<SelectLanguageBox id="language-box-corner" style={{top: "55px", right: "5px", position: "absolute"}} />
<SelectLanguageBox languages={application.organizationObj.languages} style={{top: "55px", right: "5px", position: "absolute"}} />
{
this.renderForm(application)
}