Skip to content

Commit

Permalink
Merge pull request #772 from RockefellerArchiveCenter/relatedmaterial
Browse files Browse the repository at this point in the history
Display related materials note
  • Loading branch information
helrond authored Jan 7, 2025
2 parents c8a4e55 + b7cfa30 commit 7711bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RecordsDetail/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ const RecordsDetail = props => {
params={props.params}
title='Biographical/Historical Note'
text={noteTextByType(props.item.notes, 'bioghist')} />
{ props.item.notes && props.item.notes.filter(n => n.type === 'odd').map(n => (
{ props.item.notes && props.item.notes.filter(n => ['relatedmaterial', 'odd'].includes(n.type)).map(n => (
<PanelTextSection
params={props.params}
title={n.title}
Expand Down

0 comments on commit 7711bbb

Please sign in to comment.