fix after merge

This commit is contained in:
Eduard Heimbuch
2019-10-26 18:55:26 +02:00
parent a3d5e9669e
commit 6d888f68c8

View File

@@ -87,7 +87,9 @@ class Breadcrumb extends React.Component<Props> {
baseUrl,
branch: branch ? branch : defaultBranch,
path,
isBranchUrl: branches && branches.filter(b => b.name.replace("/", "%2F") === revision).length > 0,
isBranchUrl: branches
? branches.filter(b => b.name.replace("/", "%2F") === revision).length > 0
: true,
repository
}}
renderAll={true}