Fix route for changesets with branch

This commit is contained in:
René Pfeuffer
2019-04-04 11:15:34 +02:00
parent 2b041c3c53
commit dcf6dfffcf

View File

@@ -174,15 +174,6 @@ class RepositoryRoot extends React.Component<Props> {
/>
)}
/>
<Route
path={`${url}/branch/:branch`}
render={() => (
<BranchRoot
repository={repository}
baseUrl={`${url}/branch`}
/>
)}
/>
<Route
path={`${url}/branch/:branch/changesets`}
render={() => (
@@ -193,6 +184,15 @@ class RepositoryRoot extends React.Component<Props> {
/>
)}
/>
<Route
path={`${url}/branch/:branch`}
render={() => (
<BranchRoot
repository={repository}
baseUrl={`${url}/branch`}
/>
)}
/>
<Route
path={`${url}/branches`}
exact={true}