1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-21 11:27:18 +00:00

change org department function name (#3938)

* change org depatrment function name

* change name

* change name
This commit is contained in:
Michael An
2019-08-01 18:40:26 +08:00
committed by llj
parent 1f78ae8ac5
commit 1c6fa019d0
5 changed files with 6 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ class AddRepoDialog extends React.Component {
handleSubmit = () => {
let isValid = this.validateName();
if (isValid) {
seafileAPI.orgAdminAddDepartGroupRepo(orgID, this.props.groupID, this.state.repoName.trim()).then((res) => {
seafileAPI.orgAdminAddDepartmentRepo(orgID, this.props.groupID, this.state.repoName.trim()).then((res) => {
this.props.toggle();
this.props.onRepoChanged();
}).catch(error => {