1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 00:43:53 +00:00

optimized repo create code (#2697)

This commit is contained in:
杨顺强
2018-12-22 15:18:53 +08:00
committed by Daniel Pan
parent 7a2ce7bd16
commit eed617f44c
10 changed files with 123 additions and 95 deletions

View File

@@ -167,8 +167,8 @@ class MoveDirent extends React.Component {
{this.state.errMessage && <Alert color="danger" style={{margin: '0.5rem'}}>{this.state.errMessage}</Alert>}
</ModalBody>
<ModalFooter>
<Button color="primary" onClick={this.handleSubmit}>{gettext('Submit')}</Button>
<Button color="secondary" onClick={this.toggle}>{gettext('Cancel')}</Button>
<Button color="primary" onClick={this.handleSubmit}>{gettext('Submit')}</Button>
</ModalFooter>
</Modal>
);