aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/project-admin/links/views
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-11-06 15:08:24 +0100
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-11-24 17:22:33 +0100
commit51c76205777a9a05783c781bad8c66e3eadef163 (patch)
tree6db22defc2e4ed13873d73864d949b359ed0300a /server/sonar-web/src/main/js/apps/project-admin/links/views
parent8fcb4a1344fb818c6c60d25e8f7c52eb12a77288 (diff)
downloadsonarqube-51c76205777a9a05783c781bad8c66e3eadef163.tar.gz
sonarqube-51c76205777a9a05783c781bad8c66e3eadef163.zip
Move 'parseError' to request lib
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.js2
-rw-r--r--server/sonar-web/src/main/js/apps/project-admin/links/views/DeletionModal.js2
2 files changed, 2 insertions, 2 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 c0ed8620108..764bfded48b 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
@@ -19,7 +19,7 @@
*/
import ModalForm from '../../../../components/common/modal-form';
import Template from './CreationModalTemplate.hbs';
-import { parseError } from '../../../code/utils';
+import { parseError } from '../../../../helpers/request';
export default ModalForm.extend({
template: Template,
diff --git a/server/sonar-web/src/main/js/apps/project-admin/links/views/DeletionModal.js b/server/sonar-web/src/main/js/apps/project-admin/links/views/DeletionModal.js
index 232857084c5..e04175c4f1b 100644
--- a/server/sonar-web/src/main/js/apps/project-admin/links/views/DeletionModal.js
+++ b/server/sonar-web/src/main/js/apps/project-admin/links/views/DeletionModal.js
@@ -20,7 +20,7 @@
import ModalForm from '../../../../components/common/modal-form';
import Template from './DeletionModalTemplate.hbs';
import { deleteLink } from '../../../../api/projectLinks';
-import { parseError } from '../../../code/utils';
+import { parseError } from '../../../../helpers/request';
export default ModalForm.extend({
template: Template,