aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.js')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.js b/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.js
index 7986f5a1816..547543cb215 100644
--- a/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.js
+++ b/server/sonar-web/src/main/js/apps/quality-gates/components/Conditions.js
@@ -62,7 +62,8 @@ export default class Conditions extends React.PureComponent {
edit,
onAddCondition,
onSaveCondition,
- onDeleteCondition
+ onDeleteCondition,
+ organization
} = this.props;
const existingConditions = conditions.filter(condition => metrics[condition.metric]);
@@ -130,6 +131,7 @@ export default class Conditions extends React.PureComponent {
onDeleteCondition={onDeleteCondition}
onError={this.handleError.bind(this)}
onResetError={this.handleResetError.bind(this)}
+ organization={organization}
/>
))}
</tbody>