1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 16:31:13 +00:00

repair groupownedgroup create bug

This commit is contained in:
shanshuirenjia
2018-12-16 11:17:17 +08:00
parent d7564bcbba
commit 4cbc72819e
5 changed files with 56 additions and 8 deletions

View File

@@ -28,9 +28,8 @@ class CreateDepartmentRepoDialog extends React.Component {
let isValid = this.validateRepoName();
if (isValid) {
let repo = this.createRepo(this.state.repoName);
this.props.onCreateRepo(repo);
this.props.onCreateRepo(repo, 'department');
}
}
handleKeyPress = (e) => {