1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 18:03:48 +00:00

Add cancel-btn from create-repo-dialog (#3213)

This commit is contained in:
zxj96
2019-04-08 10:28:44 +08:00
committed by Daniel Pan
parent 862084d0d6
commit 85195d70a9

View File

@@ -204,6 +204,7 @@ class CreateRepoDialog extends React.Component {
{this.state.errMessage && <Alert color="danger">{this.state.errMessage}</Alert>}
</ModalBody>
<ModalFooter>
<Button color="secondary" onClick={this.toggle}>{gettext('Cancel')}</Button>
<Button color="primary" onClick={this.handleSubmit}>{gettext('Submit')}</Button>
</ModalFooter>
</Modal>