aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-08-25 09:22:40 +0200
committerJanos Gyerik <janos.gyerik@sonarsource.com>2017-09-12 11:34:52 +0200
commit0c052b29d94c3382b0c4b88780c818fc4ccdd1ac (patch)
treef996f3d2c24931aa6ae8db389690b129b7e2e6fd /server
parente434c00d951ec2fe56eea44efe1303876d0689dc (diff)
downloadsonarqube-0c052b29d94c3382b0c4b88780c818fc4ccdd1ac.tar.gz
sonarqube-0c052b29d94c3382b0c4b88780c818fc4ccdd1ac.zip
fix global & organization issues page
Diffstat (limited to 'server')
-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}