Add user's Affiliation and IsAdmin.

This commit is contained in:
Yang Luo
2021-02-14 13:43:55 +08:00
parent 4b66c24bb6
commit 40587f35e3
4 changed files with 53 additions and 12 deletions

View File

@ -157,9 +157,9 @@ class ApplicationEditPage extends React.Component {
Enable Password:
</Col>
<Col span={1} >
{
<Switch checked={this.state.application.enablePassword} onChange={(checked => {this.updateApplicationField('enablePassword', checked);})} />
}
<Switch checked={this.state.application.enablePassword} onChange={checked => {
this.updateApplicationField('enablePassword', checked);
}} />
</Col>
</Row>
<Row style={{marginTop: '20px'}} >