From d730d20264df1cab9ea4862bc729092b84c3b97f Mon Sep 17 00:00:00 2001 From: Davinder Singh Date: Wed, 20 Jul 2022 13:32:56 +0100 Subject: [PATCH] Merge pull request #8753 from overleaf/ds-admin-user-info-email-management Admin user info page- email management row migrated to react GitOrigin-RevId: 63ebcf6c5f11bdc29badd3be84ecf49ae3fe28ba --- .../share-project-modal/components/transfer-ownership-modal.js | 2 +- .../share-project-modal/utils => shared/components}/location.js | 0 .../share-project-modal/components/share-project-modal.test.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename services/web/frontend/js/{features/share-project-modal/utils => shared/components}/location.js (100%) diff --git a/services/web/frontend/js/features/share-project-modal/components/transfer-ownership-modal.js b/services/web/frontend/js/features/share-project-modal/components/transfer-ownership-modal.js index 50bf61b64a..adaf04297b 100644 --- a/services/web/frontend/js/features/share-project-modal/components/transfer-ownership-modal.js +++ b/services/web/frontend/js/features/share-project-modal/components/transfer-ownership-modal.js @@ -5,7 +5,7 @@ import PropTypes from 'prop-types' import Icon from '../../../shared/components/icon' import { transferProjectOwnership } from '../utils/api' import AccessibleModal from '../../../shared/components/accessible-modal' -import { reload } from '../utils/location' +import { reload } from '../../../shared/components/location' import { useProjectContext } from '../../../shared/context/project-context' export default function TransferOwnershipModal({ member, cancel }) { diff --git a/services/web/frontend/js/features/share-project-modal/utils/location.js b/services/web/frontend/js/shared/components/location.js similarity index 100% rename from services/web/frontend/js/features/share-project-modal/utils/location.js rename to services/web/frontend/js/shared/components/location.js diff --git a/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.js b/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.js index 2c036bc2dd..94957e17af 100644 --- a/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.js +++ b/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.js @@ -14,7 +14,7 @@ import { renderWithEditorContext, cleanUpContext, } from '../../../helpers/render-with-context' -import * as locationModule from '../../../../../frontend/js/features/share-project-modal/utils/location' +import * as locationModule from '../../../../../frontend/js/shared/components/location' import { EditorProviders, USER_EMAIL,