aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-gates/views/create-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates/views/create-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-gates/views/create-view.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/views/create-view.js b/server/sonar-web/src/main/js/apps/quality-gates/views/create-view.js
index a081f2d011b..ba8bb4ec3fc 100644
--- a/server/sonar-web/src/main/js/apps/quality-gates/views/create-view.js
+++ b/server/sonar-web/src/main/js/apps/quality-gates/views/create-view.js
@@ -35,14 +35,14 @@ export default ModalForm.extend({
const name = this.$('#quality-gate-form-name').val();
createQualityGate(name).then(
- qualityGate => {
- this.destroy();
- this.options.onAdd(qualityGate);
- },
- error => {
- this.enableForm();
- parseError(error).then(msg => this.showErrors([{ msg }]));
- }
+ qualityGate => {
+ this.destroy();
+ this.options.onAdd(qualityGate);
+ },
+ error => {
+ this.enableForm();
+ parseError(error).then(msg => this.showErrors([{ msg }]));
+ }
);
},