diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-08-29 11:38:53 +0200 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-09-13 13:53:58 +0200 |
commit | 793e86fce66f356099792b7231c9a1d949ff875e (patch) | |
tree | 8bd08099539c3cb1ff159823ee1d1f74a5f2c979 /server/sonar-web/src/main/js/apps/project-admin/links/views | |
parent | 736e89cc1629e1e52db00f67e4650f1b88695de9 (diff) | |
download | sonarqube-793e86fce66f356099792b7231c9a1d949ff875e.tar.gz sonarqube-793e86fce66f356099792b7231c9a1d949ff875e.zip |
update prettier
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-admin/links/views')
-rw-r--r-- | server/sonar-web/src/main/js/apps/project-admin/links/views/CreationModal.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-admin/links/views/CreationModal.js b/server/sonar-web/src/main/js/apps/project-admin/links/views/CreationModal.js index 9547362ecd5..c0ed8620108 100644 --- a/server/sonar-web/src/main/js/apps/project-admin/links/views/CreationModal.js +++ b/server/sonar-web/src/main/js/apps/project-admin/links/views/CreationModal.js @@ -31,9 +31,12 @@ export default ModalForm.extend({ const name = this.$('#create-link-name').val(); const url = this.$('#create-link-url').val(); - this.options.onCreate(name, url).then(() => this.destroy()).catch(e => { - parseError(e).then(msg => this.showSingleError(msg)); - this.enableForm(); - }); + this.options + .onCreate(name, url) + .then(() => this.destroy()) + .catch(e => { + parseError(e).then(msg => this.showSingleError(msg)); + this.enableForm(); + }); } }); |