fix redirect

This commit is contained in:
Eduard Heimbuch
2019-09-04 15:06:04 +02:00
parent eecba7c163
commit a95cd9c416
2 changed files with 17 additions and 20 deletions

View File

@@ -77,7 +77,12 @@ class Breadcrumb extends React.Component<Props> {
<ButtonGroup>
<ExtensionPoint
name="repos.sources.actionbar"
props={{ baseUrl, branch: branch ? branch : defaultBranch, path, isBranchUrl: branches && branches.filter(b => b.name === revision).length > 0 }}
props={{
baseUrl,
branch: branch ? branch : defaultBranch,
path,
isBranchUrl: branches &&
branches.filter(b => b.name.replace("/", "%2F") === revision).length > 0 }}
renderAll={true}
/>
</ButtonGroup>