diff options
author | Pascal Mugnier <pascal.mugnier@sonarsource.com> | 2018-04-17 08:14:20 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-04-17 20:20:47 +0200 |
commit | 30134be4458d9a98c746d83487f51d6242cbd6f8 (patch) | |
tree | ed8815b88caf076fd8fe836dac6b75573e4a3753 /server/sonar-web/src/main/js/apps/overview | |
parent | b9d7623d0ce7d804f0c5a6dcfc476ae96c9b8518 (diff) | |
download | sonarqube-30134be4458d9a98c746d83487f51d6242cbd6f8.tar.gz sonarqube-30134be4458d9a98c746d83487f51d6242cbd6f8.zip |
Fix for quality gate link redirecting to master branch
Diffstat (limited to 'server/sonar-web/src/main/js/apps/overview')
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/qualityGate/QualityGateConditions.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/qualityGate/QualityGateConditions.js b/server/sonar-web/src/main/js/apps/overview/qualityGate/QualityGateConditions.js index 57dc3002b4d..704825459cc 100644 --- a/server/sonar-web/src/main/js/apps/overview/qualityGate/QualityGateConditions.js +++ b/server/sonar-web/src/main/js/apps/overview/qualityGate/QualityGateConditions.js @@ -88,7 +88,7 @@ export default class QualityGateConditions extends React.PureComponent { } render() { - const { branch, component } = this.props; + const { branchLike, component } = this.props; const { loading, conditions } = this.state; if (loading) { @@ -103,14 +103,14 @@ export default class QualityGateConditions extends React.PureComponent { return ( <div - id="overview-quality-gate-conditions-list" - className="overview-quality-gate-conditions-list clearfix"> + className="overview-quality-gate-conditions-list clearfix" + id="overview-quality-gate-conditions-list"> {sortedConditions.map(condition => ( <QualityGateCondition - key={condition.measure.metric.key} - branch={branch} + branchLike={branchLike} component={component} condition={condition} + key={condition.measure.metric.key} /> ))} </div> |