1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +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

@@ -9,7 +9,7 @@ class RenameGroupDialog extends React.Component {
constructor(props) {
super(props);
this.state = {
newGroupName: '',
newGroupName: this.props.currentGroupName,
};
}
@@ -65,6 +65,7 @@ const RenameGroupDialogPropTypes = {
loadGroup: PropTypes.func.isRequired,
groupID: PropTypes.string.isRequired,
onGroupChanged: PropTypes.func.isRequired,
currentGroupName: PropTypes.string.isRequired,
};
RenameGroupDialog.propTypes = RenameGroupDialogPropTypes;