aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projectDeletion
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2021-08-17 15:50:55 +0200
committersonartech <sonartech@sonarsource.com>2021-08-20 20:03:08 +0000
commit6ef7ca151ecd602ca8e9cea21743a895a81e89ba (patch)
tree40d7a97a8075b416901a4078638e4cde9ee15942 /server/sonar-web/src/main/js/apps/projectDeletion
parent2454e077b1d77d70508dcce6a5b015d4a69f41fa (diff)
downloadsonarqube-6ef7ca151ecd602ca8e9cea21743a895a81e89ba.tar.gz
sonarqube-6ef7ca151ecd602ca8e9cea21743a895a81e89ba.zip
SONAR-15297 Move sonar-ui-common code to sonar-web
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectDeletion')
-rw-r--r--server/sonar-web/src/main/js/apps/projectDeletion/App.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/projectDeletion/Form.tsx6
-rw-r--r--server/sonar-web/src/main/js/apps/projectDeletion/Header.tsx2
3 files changed, 5 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectDeletion/App.tsx b/server/sonar-web/src/main/js/apps/projectDeletion/App.tsx
index 4fe68e3a179..dd4c6a02932 100644
--- a/server/sonar-web/src/main/js/apps/projectDeletion/App.tsx
+++ b/server/sonar-web/src/main/js/apps/projectDeletion/App.tsx
@@ -19,7 +19,7 @@
*/
import * as React from 'react';
import { Helmet } from 'react-helmet-async';
-import { translate } from 'sonar-ui-common/helpers/l10n';
+import { translate } from '../../sonar-ui-common/helpers/l10n';
import Form from './Form';
import Header from './Header';
diff --git a/server/sonar-web/src/main/js/apps/projectDeletion/Form.tsx b/server/sonar-web/src/main/js/apps/projectDeletion/Form.tsx
index 17a28d4d6a2..1ae2bb00a8c 100644
--- a/server/sonar-web/src/main/js/apps/projectDeletion/Form.tsx
+++ b/server/sonar-web/src/main/js/apps/projectDeletion/Form.tsx
@@ -18,13 +18,13 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import * as React from 'react';
-import { Button } from 'sonar-ui-common/components/controls/buttons';
-import ConfirmButton from 'sonar-ui-common/components/controls/ConfirmButton';
-import { translate, translateWithParameters } from 'sonar-ui-common/helpers/l10n';
import { deleteApplication } from '../../api/application';
import { deletePortfolio, deleteProject } from '../../api/components';
import addGlobalSuccessMessage from '../../app/utils/addGlobalSuccessMessage';
import { Router, withRouter } from '../../components/hoc/withRouter';
+import { Button } from '../../sonar-ui-common/components/controls/buttons';
+import ConfirmButton from '../../sonar-ui-common/components/controls/ConfirmButton';
+import { translate, translateWithParameters } from '../../sonar-ui-common/helpers/l10n';
import { isApplication, isPortfolioLike } from '../../types/component';
interface Props {
diff --git a/server/sonar-web/src/main/js/apps/projectDeletion/Header.tsx b/server/sonar-web/src/main/js/apps/projectDeletion/Header.tsx
index 775e91fa252..7fdfb20cabe 100644
--- a/server/sonar-web/src/main/js/apps/projectDeletion/Header.tsx
+++ b/server/sonar-web/src/main/js/apps/projectDeletion/Header.tsx
@@ -18,7 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import * as React from 'react';
-import { translate } from 'sonar-ui-common/helpers/l10n';
+import { translate } from '../../sonar-ui-common/helpers/l10n';
interface Props {
component: Pick<T.Component, 'qualifier'>;