diff --git a/src/modules/metadata/index.js b/src/modules/metadata/index.js deleted file mode 100644 index dc05a660..00000000 --- a/src/modules/metadata/index.js +++ /dev/null @@ -1,5 +0,0 @@ -import Metadata from './components/Metadata'; - -export { - Metadata -}; diff --git a/src/modules/metadata/components/Description/index.js b/src/modules/records/components/Description/index.js similarity index 100% rename from src/modules/metadata/components/Description/index.js rename to src/modules/records/components/Description/index.js diff --git a/src/modules/metadata/components/Metadata/index.js b/src/modules/records/components/Metadata/index.js similarity index 100% rename from src/modules/metadata/components/Metadata/index.js rename to src/modules/records/components/Metadata/index.js diff --git a/src/modules/metadata/components/Metadata/styles.css b/src/modules/records/components/Metadata/styles.css similarity index 100% rename from src/modules/metadata/components/Metadata/styles.css rename to src/modules/records/components/Metadata/styles.css diff --git a/src/modules/records/components/Record/index.js b/src/modules/records/components/Record/index.js index 0f723f2f..67d7504b 100644 --- a/src/modules/records/components/Record/index.js +++ b/src/modules/records/components/Record/index.js @@ -1,11 +1,10 @@ import { AddToListButton, isInList } from '../../../lists'; import { Anchor, Icon } from '../../../reusable'; import { getField, getFieldValue } from '../../utilities'; +import { Metadata, RecommendedResource } from '../../../records'; import { getDatastoreSlugByUid } from '../../../pride'; -import { Metadata } from '../../../metadata'; import PropTypes from 'prop-types'; import React from 'react'; -import { RecommendedResource } from '../../../records'; import { ResourceAccess } from '../../../resource-acccess'; import { TrimString } from '../../../core'; import { useLocation } from 'react-router-dom'; diff --git a/src/modules/records/components/RecordFull/index.js b/src/modules/records/components/RecordFull/index.js index 044656c3..15a5c725 100644 --- a/src/modules/records/components/RecordFull/index.js +++ b/src/modules/records/components/RecordFull/index.js @@ -8,6 +8,7 @@ import { import { Anchor, Breadcrumb, H1 } from '../../../reusable'; import { FullRecordPlaceholder, + Metadata, RecommendedResource, RecordDescription, RecordFullFormats, @@ -18,7 +19,6 @@ import { getField, getFieldValue } from '../../utilities'; import React, { useEffect, useState } from 'react'; import { useNavigate, useParams } from 'react-router-dom'; import { findWhere } from '../../../reusable/underscore'; -import { Metadata } from '../../../metadata'; import { NoMatch } from '../../../pages'; import { requestRecord } from '../../../pride'; import { ResourceAccess } from '../../../resource-acccess'; diff --git a/src/modules/records/components/RecordPreview/index.js b/src/modules/records/components/RecordPreview/index.js index 2aea8e22..dd938c82 100644 --- a/src/modules/records/components/RecordPreview/index.js +++ b/src/modules/records/components/RecordPreview/index.js @@ -1,8 +1,7 @@ import { Anchor, Icon } from '../../../reusable'; import { getField, getFieldValue } from '../../utilities'; -import { RecommendedResource, Zotero } from '../../../records'; +import { Metadata, RecommendedResource, Zotero } from '../../../records'; import { getDatastoreSlugByUid } from '../../../pride'; -import { Metadata } from '../../../metadata'; import PropTypes from 'prop-types'; import React from 'react'; import { TrimString } from '../../../core'; diff --git a/src/modules/records/index.js b/src/modules/records/index.js index 9ead95aa..e1b9d5fc 100644 --- a/src/modules/records/index.js +++ b/src/modules/records/index.js @@ -15,6 +15,7 @@ import FullRecordPlaceholder from './components/FullRecordPlaceholder'; import ILLRequestMessage from './components/ILLRequestMessage'; import KeywordSwitch from './components/KeywordSwitch'; import MARCTable from './components/MARCTable'; +import Metadata from './components/Metadata'; import Pagination from './components/Pagination'; import RecommendedResource from './components/RecommendedResource'; import Record from './components/Record'; @@ -40,6 +41,7 @@ export { loadingHoldings, loadingRecords, MARCTable, + Metadata, Pagination, RecommendedResource, Record,