diff options
author | Ambroise C <ambroise.christea@sonarsource.com> | 2023-09-11 19:25:35 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-09-12 20:02:41 +0000 |
commit | 8d5275ca04be8dbb4b4c7cb0068fe3f1320f1554 (patch) | |
tree | 73f1aa91e094c9ec92bc312096619ec6e54c87be /server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx | |
parent | f0e873e18885be912862f5361bd4a77f6f6faac1 (diff) | |
download | sonarqube-8d5275ca04be8dbb4b4c7cb0068fe3f1320f1554.tar.gz sonarqube-8d5275ca04be8dbb4b4c7cb0068fe3f1320f1554.zip |
SONAR-20327 Run new version of prettier on all files
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx index 39debe2a694..2c3e8117c06 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx +++ b/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx @@ -89,7 +89,7 @@ export class ConditionComponent extends React.PureComponent<Props, State> { removeCondition = (condition: ConditionType) => { deleteCondition({ id: condition.id }).then( () => this.props.onRemoveCondition(condition), - () => {} + () => {}, ); }; @@ -144,7 +144,7 @@ export class ConditionComponent extends React.PureComponent<Props, State> { <EditButton aria-label={translateWithParameters( 'quality_gates.condition.edit', - metric.name + metric.name, )} data-test="quality-gates__condition-update" onClick={this.handleOpenUpdate} @@ -169,7 +169,7 @@ export class ConditionComponent extends React.PureComponent<Props, State> { <DeleteButton aria-label={translateWithParameters( 'quality_gates.condition.delete', - metric.name + metric.name, )} data-test="quality-gates__condition-delete" onClick={this.handleDeleteClick} @@ -185,7 +185,7 @@ export class ConditionComponent extends React.PureComponent<Props, State> { > {translateWithParameters( 'quality_gates.delete_condition.confirm.message', - getLocalizedMetricName(this.props.metric) + getLocalizedMetricName(this.props.metric), )} </ConfirmModal> )} |