mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-31 18:46:07 +01:00
Determine branch for which to show changesets via URL
This commit is contained in:
@@ -103,13 +103,9 @@ class RepositoryRoot extends React.Component<Props> {
|
||||
component={() => <Edit repository={repository}/>}
|
||||
/>
|
||||
<Route
|
||||
path={`${url}/history`}
|
||||
component={() => <Changesets repository={repository} branchName={"master"} history={this.props.history}/>}
|
||||
path={`${url}/history/:branch`}
|
||||
component={() => <Changesets repository={repository}/>}
|
||||
/>
|
||||
{/*<Route*/}
|
||||
{/*path={`${url}/history/:branchName`}*/}
|
||||
{/*component={() => <Changesets repository={repository} branchName={} history={this.props.history}/>}*/}
|
||||
{/*/>*/}
|
||||
</div>
|
||||
<div className="column">
|
||||
<Navigation>
|
||||
|
||||
Reference in New Issue
Block a user