mirror of
				https://github.com/scm-manager/scm-manager.git
				synced 2025-10-31 02:25:53 +01:00 
			
		
		
		
	fixed branch selection urls and styles branch selector
This commit is contained in:
		| @@ -111,12 +111,23 @@ class RepositoryRoot extends React.Component<Props> { | ||||
|                 path={`${url}/edit`} | ||||
|                 component={() => <Edit repository={repository} />} | ||||
|               /> | ||||
|               <Route | ||||
|                 path={`${url}/changesets`} | ||||
|                 render={() => ( | ||||
|                   <BranchRoot | ||||
|                     repository={repository} | ||||
|                     baseUrlWithBranch={`${url}/branches`} | ||||
|                     baseUrlWithoutBranch={`${url}/changesets`} | ||||
|                   /> | ||||
|                 )} | ||||
|               /> | ||||
|               <Route | ||||
|                 path={`${url}/branches/:branch/changesets`} | ||||
|                 render={() => ( | ||||
|                   <BranchRoot | ||||
|                     repository={repository} | ||||
|                     baseUrl={`${url}/branches`} | ||||
|                     baseUrlWithBranch={`${url}/branches`} | ||||
|                     baseUrlWithoutBranch={`${url}/changesets`} | ||||
|                   /> | ||||
|                 )} | ||||
|               /> | ||||
| @@ -128,7 +139,7 @@ class RepositoryRoot extends React.Component<Props> { | ||||
|                 <NavLink to={url} label={t("repository-root.information")} /> | ||||
|                 <NavLink | ||||
|                   activeOnlyWhenExact={false} | ||||
|                   to={`${url}/branches/master/changesets/1`} | ||||
|                   to={`${url}/changesets/`} | ||||
|                   label={t("repository-root.history")} | ||||
|                   activeWhenMatch={this.matches} | ||||
|                 /> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user