mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +00:00
Merge branch '11.0'
This commit is contained in:
@@ -46,7 +46,7 @@ class CreateForder extends React.Component {
|
||||
if (!this.state.isSubmitBtnActive) {
|
||||
return;
|
||||
}
|
||||
let newName = this.state.childName;
|
||||
let newName = this.state.childName.trim();
|
||||
let { isValid, errMessage } = validateName(newName);
|
||||
if (!isValid) {
|
||||
this.setState({ errMessage });
|
||||
|
Reference in New Issue
Block a user