) => {
@@ -151,7 +158,7 @@ const CollectionDetails = ({ library, collection }: CollectionDetailsProps) => {
{intl.formatMessage(messages.detailsTabStatsTitle)}
-
+
@@ -159,8 +166,8 @@ const CollectionDetails = ({ library, collection }: CollectionDetailsProps) => {
{intl.formatMessage(messages.detailsTabHistoryTitle)}
diff --git a/src/library-authoring/collections/CollectionInfo.tsx b/src/library-authoring/collections/CollectionInfo.tsx
index 0ab2c7fe62..a02cc48406 100644
--- a/src/library-authoring/collections/CollectionInfo.tsx
+++ b/src/library-authoring/collections/CollectionInfo.tsx
@@ -14,12 +14,12 @@ import messages from './messages';
interface CollectionInfoProps {
library: ContentLibrary,
- collection: CollectionHit,
+ collectionId: string,
}
-const CollectionInfo = ({ library, collection }: CollectionInfoProps) => {
+const CollectionInfo = ({ library, collectionId }: CollectionInfoProps) => {
const intl = useIntl();
- const url = `/library/${library.id}/collection/${collection.blockId}/`;
+ const url = `/library/${library.id}/collection/${collectionId}/`;
const urlMatch = useMatch(url);
return (
@@ -28,7 +28,7 @@ const CollectionInfo = ({ library, collection }: CollectionInfoProps) => {