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