Add EnableSignUp.

This commit is contained in:
Yang Luo
2021-03-26 21:55:39 +08:00
parent da38f7a6ba
commit b6b433f26a
7 changed files with 165 additions and 139 deletions

View File

@ -226,6 +226,16 @@ class ApplicationEditPage extends React.Component {
}} />
</Col>
</Row>
<Row style={{marginTop: '20px'}} >
<Col style={{marginTop: '5px'}} span={2}>
{i18next.t("application:Enable Sign Up")}:
</Col>
<Col span={1} >
<Switch checked={this.state.application.enableSignUp} onChange={checked => {
this.updateApplicationField('enableSignUp', checked);
}} />
</Col>
</Row>
<Row style={{marginTop: '20px'}} >
<Col style={{marginTop: '5px'}} span={2}>
{i18next.t("general:Providers")}: