mirror of
				https://github.com/scm-manager/scm-manager.git
				synced 2025-10-31 10:35:56 +01:00 
			
		
		
		
	fixed highlighting of commits nav link
This commit is contained in:
		| @@ -72,9 +72,7 @@ class RepositoryRoot extends React.Component<Props> { | ||||
|  | ||||
|   matches = (route: any) => { | ||||
|     const url = this.matchedUrl(); | ||||
|     const regex = new RegExp( | ||||
|       `${url}(/branches)?/?[a-zA-Z0-9_%]*/changesets?.*` | ||||
|     ); | ||||
|     const regex = new RegExp(`${url}(/branches)?/?[^/]*/changesets?.*`); | ||||
|     return route.location.pathname.match(regex); | ||||
|   }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user