aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/overview/qualityGate/QualityGateConditions.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/overview/qualityGate/QualityGateConditions.js')
-rw-r--r--server/sonar-web/src/main/js/apps/overview/qualityGate/QualityGateConditions.js10
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>