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

Repo history redesign (#7229)

* [repo history] display it with a dialog instead of an independent page

* [repo history] redesigned the 'commit details' dialog

* [repo history] added prop type checking
This commit is contained in:
llj
2024-12-21 18:22:52 +08:00
committed by GitHub
parent 9fb6870679
commit 49bd39f7df
8 changed files with 392 additions and 19 deletions

View File

@@ -57,7 +57,7 @@ class UpdateRepoCommitLabels extends React.Component {
render() {
const { formErrorMsg } = this.state;
return (
<Modal isOpen={true} centered={true} toggle={this.props.toggleDialog}>
<Modal isOpen={true} toggle={this.props.toggleDialog}>
<ModalHeader toggle={this.props.toggleDialog}>{gettext('Edit labels')}</ModalHeader>
<ModalBody>
<React.Fragment>