1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 01:44:13 +00:00

fix org page warnings

This commit is contained in:
Michael An
2019-05-15 15:58:52 +08:00
parent 93a99421bc
commit e7f3ef027a
8 changed files with 17 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ class OrgDepartmentsList extends React.Component {
super(props);
this.state = {
groups: null,
groupID: -1,
groupID: '',
groupName: '',
showDeleteDepartDialog: false,
showSetGroupQuotaDialog: false,
@@ -71,7 +71,6 @@ class OrgDepartmentsList extends React.Component {
<ModalPortal>
<AddDepartDialog
onDepartChanged={this.onDepartChanged}
parentGroupID={this.props.groupID}
groupID={this.state.groupID}
toggle={this.toggleAddDepartDialog}
/>