aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/issues/components/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/components/App.js')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/components/App.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/components/App.js b/server/sonar-web/src/main/js/apps/issues/components/App.js
index 486ee33abc0..a67b66722cf 100644
--- a/server/sonar-web/src/main/js/apps/issues/components/App.js
+++ b/server/sonar-web/src/main/js/apps/issues/components/App.js
@@ -810,7 +810,7 @@ export default class App extends React.PureComponent {
<div>
{paging.total > 0 &&
<IssuesList
- branch={getBranchName(branch)}
+ branch={this.props.branch && getBranchName(branch)}
checked={this.state.checked}
component={component}
issues={issues}
@@ -873,7 +873,7 @@ export default class App extends React.PureComponent {
{openIssue != null
? <div className="pull-left width-60">
<ComponentBreadcrumbs
- branch={getBranchName(this.props.branch)}
+ branch={this.props.branch && getBranchName(this.props.branch)}
component={component}
issue={openIssue}
organization={this.props.organization}