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:
@@ -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 => {
|
||||
|
Reference in New Issue
Block a user