mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
show changeset parents on changeset details view
This commit is contained in:
@@ -53,6 +53,12 @@ class ChangesetView extends React.Component<Props> {
|
||||
fetchChangesetIfNeeded(repository, id);
|
||||
}
|
||||
|
||||
componentDidUpdate() {
|
||||
const { fetchChangesetIfNeeded, repository } = this.props;
|
||||
const id = this.props.match.params.id;
|
||||
fetchChangesetIfNeeded(repository, id);
|
||||
}
|
||||
|
||||
render() {
|
||||
const { changeset, loading, error, t, repository } = this.props;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user