diff --git a/scm-ui/src/repos/components/ChangesetDetails.js b/scm-ui/src/repos/components/ChangesetDetails.js index c9bc615866..019762d140 100644 --- a/scm-ui/src/repos/components/ChangesetDetails.js +++ b/scm-ui/src/repos/components/ChangesetDetails.js @@ -23,6 +23,16 @@ type Props = { class ChangesetDetails extends React.Component { render() { const { changeset, repository, t, classes } = this.props; + + const mailadress = changeset.author.mail ? ( + + {t("author.mail")} + + + + + ) : null; + return (
@@ -35,12 +45,7 @@ class ChangesetDetails extends React.Component { - - - - + {mailadress}
{t("author.name")} {changeset.author.name}
{t("author.mail")} - -
{t("changeset.description")} {changeset.description}