1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-29 12:04:02 +00:00

update wiki-mode delete ui (#2921)

This commit is contained in:
杨顺强 2019-01-31 17:38:11 +08:00 committed by Daniel Pan
parent e57701fa38
commit 4ec1be29fc

View File

@ -29,8 +29,8 @@ class Delete extends React.Component {
<p>{gettext('Are you sure to delete')}{' '}<b>{name}</b> ?</p> <p>{gettext('Are you sure to delete')}{' '}<b>{name}</b> ?</p>
</ModalBody> </ModalBody>
<ModalFooter> <ModalFooter>
<Button outline color="secondary" onClick={this.toggle}>{gettext('Cancel')}</Button> <Button color="secondary" onClick={this.toggle}>{gettext('Cancel')}</Button>
<Button outline color="danger" onClick={this.props.handleSubmit}>{gettext('Delete')}</Button> <Button color="primary" onClick={this.props.handleSubmit}>{gettext('Delete')}</Button>
</ModalFooter> </ModalFooter>
</Modal> </Modal>
); );