diff --git a/src/lib/pages/frontsite/Documents/DocumentDetails/DocumentPanel/DocumentTitle.js b/src/lib/pages/frontsite/Documents/DocumentDetails/DocumentPanel/DocumentTitle.js
index c8c0f7b87..3c4119897 100644
--- a/src/lib/pages/frontsite/Documents/DocumentDetails/DocumentPanel/DocumentTitle.js
+++ b/src/lib/pages/frontsite/Documents/DocumentDetails/DocumentPanel/DocumentTitle.js
@@ -28,17 +28,16 @@ export class DocumentTitle extends Component {
}
relationsTitle(relationsData) {
+ const relation = relationsData[0];
return !_isEmpty(relationsData) ? (
-
- {relationsData.map((rel, index) => (
- <>
-
- {rel.record_metadata.title}
-
- {index === relationsData.length - 1 ? ' featuring:' : ' and '}
- >
- ))}
-
+
+
+
+ {relation.record_metadata.title}
+
+ {' featuring:'}
+
+
) : null;
}
@@ -48,11 +47,9 @@ export class DocumentTitle extends Component {
return (
<>
-
- {this.relationsTitle(
- _get(metadata, 'relations.multipart_monograph', [])
- )}
-
+ {this.relationsTitle(
+ _get(metadata, 'relations.multipart_monograph', [])
+ )}