aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/permission-templates/views/UpdateView.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/permission-templates/views/UpdateView.js')
-rw-r--r--server/sonar-web/src/main/js/apps/permission-templates/views/UpdateView.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/server/sonar-web/src/main/js/apps/permission-templates/views/UpdateView.js b/server/sonar-web/src/main/js/apps/permission-templates/views/UpdateView.js
index 39f41950491..094feb677d8 100644
--- a/server/sonar-web/src/main/js/apps/permission-templates/views/UpdateView.js
+++ b/server/sonar-web/src/main/js/apps/permission-templates/views/UpdateView.js
@@ -30,14 +30,14 @@ export default FormView.extend({
description: this.$('#permission-template-description').val(),
projectKeyPattern: this.$('#permission-template-project-key-pattern').val()
}).then(
- () => {
- this.options.refresh();
- this.destroy();
- },
- e => {
- this.enableForm();
- parseError(e).then(message => this.showSingleError(message));
- }
+ () => {
+ this.options.refresh();
+ this.destroy();
+ },
+ e => {
+ this.enableForm();
+ parseError(e).then(message => this.showSingleError(message));
+ }
);
}
});