Fixed issues noticed in review

This commit is contained in:
Philipp Czora
2018-10-08 17:34:11 +02:00
parent e58269444b
commit dbe9ee59a8
14 changed files with 160 additions and 104 deletions

View File

@@ -104,22 +104,22 @@ class RepositoryRoot extends React.Component<Props> {
/>
<Route
exact
path={`${url}/history`}
path={`${url}/changesets`}
render={() => <Changesets repository={repository} />}
/>
<Route
exact
path={`${url}/history/:page`}
path={`${url}/changesets/:page`}
render={() => <Changesets repository={repository} />}
/>
<Route
exact
path={`${url}/:branch/history`}
path={`${url}/:branch/changesets`}
render={() => <Changesets repository={repository} />}
/>
<Route
exact
path={`${url}/:branch/history/:page`}
path={`${url}/:branch/changesets/:page`}
render={() => <Changesets repository={repository} />}
/>
</div>
@@ -129,7 +129,7 @@ class RepositoryRoot extends React.Component<Props> {
<NavLink to={url} label={t("repository-root.information")} />
<NavLink
activeOnlyWhenExact={false}
to={`${url}/history`}
to={`${url}/changesets`}
label={t("repository-root.history")}
/>
<EditNavLink repository={repository} editUrl={`${url}/edit`} />