From 6f17541395dcedb52fe54e7755be95f2e5941086 Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Thu, 19 Aug 2021 12:49:11 +0200 Subject: SONAR-15297 Move all code from sonar-ui-common back to respective sonar-web folders --- .../src/main/js/apps/permissions/global/components/AllHoldersList.tsx | 2 +- server/sonar-web/src/main/js/apps/permissions/global/components/App.tsx | 2 +- .../src/main/js/apps/permissions/global/components/PageHeader.tsx | 2 +- .../main/js/apps/permissions/global/components/__tests__/App-test.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'server/sonar-web/src/main/js/apps/permissions/global') diff --git a/server/sonar-web/src/main/js/apps/permissions/global/components/AllHoldersList.tsx b/server/sonar-web/src/main/js/apps/permissions/global/components/AllHoldersList.tsx index d0fb680c306..fa35299f732 100644 --- a/server/sonar-web/src/main/js/apps/permissions/global/components/AllHoldersList.tsx +++ b/server/sonar-web/src/main/js/apps/permissions/global/components/AllHoldersList.tsx @@ -19,7 +19,7 @@ */ import * as React from 'react'; import { connect } from 'react-redux'; -import ListFooter from '../../../../sonar-ui-common/components/controls/ListFooter'; +import ListFooter from '../../../../components/controls/ListFooter'; import { getAppState, Store } from '../../../../store/rootReducer'; import { ComponentQualifier } from '../../../../types/component'; import HoldersList from '../../shared/components/HoldersList'; diff --git a/server/sonar-web/src/main/js/apps/permissions/global/components/App.tsx b/server/sonar-web/src/main/js/apps/permissions/global/components/App.tsx index 76e179beddc..d500c870b98 100644 --- a/server/sonar-web/src/main/js/apps/permissions/global/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/permissions/global/components/App.tsx @@ -22,7 +22,7 @@ import * as React from 'react'; import { Helmet } from 'react-helmet-async'; import * as api from '../../../../api/permissions'; import Suggestions from '../../../../app/components/embed-docs-modal/Suggestions'; -import { translate } from '../../../../sonar-ui-common/helpers/l10n'; +import { translate } from '../../../../helpers/l10n'; import '../../styles.css'; import AllHoldersList from './AllHoldersList'; import PageHeader from './PageHeader'; diff --git a/server/sonar-web/src/main/js/apps/permissions/global/components/PageHeader.tsx b/server/sonar-web/src/main/js/apps/permissions/global/components/PageHeader.tsx index 7070b894147..880fea2f6f3 100644 --- a/server/sonar-web/src/main/js/apps/permissions/global/components/PageHeader.tsx +++ b/server/sonar-web/src/main/js/apps/permissions/global/components/PageHeader.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 '../../../../helpers/l10n'; interface Props { loading?: boolean; diff --git a/server/sonar-web/src/main/js/apps/permissions/global/components/__tests__/App-test.tsx b/server/sonar-web/src/main/js/apps/permissions/global/components/__tests__/App-test.tsx index f0ae1af06b5..cf4c3c4a62a 100644 --- a/server/sonar-web/src/main/js/apps/permissions/global/components/__tests__/App-test.tsx +++ b/server/sonar-web/src/main/js/apps/permissions/global/components/__tests__/App-test.tsx @@ -25,7 +25,7 @@ import { revokePermissionFromGroup, revokePermissionFromUser } from '../../../../../api/permissions'; -import { waitAndUpdate } from '../../../../../sonar-ui-common/helpers/testUtils'; +import { waitAndUpdate } from '../../../../../helpers/testUtils'; import App from '../App'; jest.mock('../../../../../api/permissions', () => ({ -- cgit v1.2.3