1
0
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:
shanshuirenjia
2018-12-07 10:46:50 +08:00
parent ed514d70cc
commit a51bc8cea5

View File

@@ -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;
} }