show changeset parents on changeset details view

This commit is contained in:
Eduard Heimbuch
2020-06-15 12:44:43 +02:00
parent 4f79f14b3d
commit b75b438d7b
4 changed files with 49 additions and 4 deletions

View File

@@ -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;