1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 10:22:46 +00:00

fix-style-bug (#2734)

Fix style bug in group dialogs.
This commit is contained in:
Michael An
2018-12-29 11:43:07 +08:00
committed by Daniel Pan
parent ca108e7bb3
commit 9cc48e8502
3 changed files with 16 additions and 7 deletions

View File

@@ -245,19 +245,22 @@ class GroupView extends React.Component {
toggleDismissGroupDialog = () => {
this.setState({
showDismissGroupDialog: !this.state.showDismissGroupDialog
showDismissGroupDialog: !this.state.showDismissGroupDialog,
showGroupDropdown: false,
});
}
toggleRenameGroupDialog = () => {
this.setState({
showRenameGroupDialog: !this.state.showRenameGroupDialog
showRenameGroupDialog: !this.state.showRenameGroupDialog,
showGroupDropdown: false,
});
}
toggleTransferGroupDialog = () => {
this.setState({
showTransferGroupDialog: !this.state.showTransferGroupDialog
showTransferGroupDialog: !this.state.showTransferGroupDialog,
showGroupDropdown: false,
});
}
@@ -269,7 +272,8 @@ class GroupView extends React.Component {
toggleManageMembersDialog = () => {
this.setState({
showManageMembersDialog: !this.state.showManageMembersDialog
showManageMembersDialog: !this.state.showManageMembersDialog,
showGroupDropdown: false,
});
}
@@ -430,6 +434,7 @@ class GroupView extends React.Component {
loadGroup={this.loadGroup}
groupID={this.props.groupID}
onGroupChanged={this.props.onGroupChanged}
currentGroupName={currentGroup.name}
/>
}
{this.state.showDismissGroupDialog &&