show no image if extension point is not used

This commit is contained in:
Maren Süwer
2018-09-27 11:56:04 +02:00
parent 2a684ec0a6
commit 991640bc4b
3 changed files with 16 additions and 16 deletions

View File

@@ -39,7 +39,7 @@ class ChangesetView extends React.Component<Props> {
}
render() {
const { changeset, loading, error, t } = this.props;
const { changeset, loading, error, t, repository } = this.props;
if (error) {
return (
@@ -53,7 +53,7 @@ class ChangesetView extends React.Component<Props> {
if (!changeset || loading) return <Loading />;
return <ChangesetDetails changeset={changeset} />;
return <ChangesetDetails changeset={changeset} repository={repository}/>;
}
}