mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 17:02:47 +00:00
repair validate bug
This commit is contained in:
@@ -68,7 +68,7 @@ class CreateRepoDialog extends React.Component {
|
|||||||
|
|
||||||
}
|
}
|
||||||
if (repoName.indexOf('/') > -1) {
|
if (repoName.indexOf('/') > -1) {
|
||||||
errMessage = 'Name should not include '/'.';
|
errMessage = 'Name should not include \'/\'.';
|
||||||
this.setState({errMessage: errMessage});
|
this.setState({errMessage: errMessage});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user