mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-21 19:37:28 +00:00
[system admin] fixup for 'input space' (#4270)
This commit is contained in:
@@ -20,13 +20,10 @@ class SysAdminAddInstitutionDialog extends React.Component {
|
||||
|
||||
handleChange = (e) => {
|
||||
const value = e.target.value;
|
||||
if (!value.trim()) {
|
||||
this.setState({isSubmitBtnActive: false});
|
||||
} else {
|
||||
this.setState({isSubmitBtnActive: true});
|
||||
}
|
||||
|
||||
this.setState({value: value});
|
||||
this.setState({
|
||||
value: value,
|
||||
isSubmitBtnActive: value.trim() != ''
|
||||
});
|
||||
}
|
||||
|
||||
handleSubmit = () => {
|
||||
|
Reference in New Issue
Block a user