Skip to content

Commit

Permalink
fix(openalex): Restore excluded RORs /2
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Dec 5, 2024
1 parent 728a575 commit e039815
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions client/src/pages/openalex-affiliations/results/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -468,27 +468,29 @@ export default function Affiliations() {
</div>
</Col>
</Row>
<Row>
<Col>
<div className="wm-title">
<span>
<i className="ri-prohibited-line fr-mr-1w" />
Excluded RORs
</span>
</div>
<div className="wm-content">
{body.excludedRors.split(' ').map((excludedRor) => (
<Tag
className="fr-mr-1w"
color="green-archipel"
key="openalex-affiliations-rors-excluded"
>
{excludedRor}
</Tag>
))}
</div>
</Col>
</Row>
{(body.excludedRors.length > 0) && (
<Row>
<Col>
<div className="wm-title">
<span>
<i className="ri-prohibited-line fr-mr-1w" />
Excluded RORs
</span>
</div>
<div className="wm-content">
{body.excludedRors.split(' ').map((excludedRor) => (
<Tag
className="fr-mr-1w"
color="green-archipel"
key="openalex-affiliations-rors-excluded"
>
{excludedRor}
</Tag>
))}
</div>
</Col>
</Row>
)}
</div>
</Col>
<Col md={10}>
Expand Down

0 comments on commit e039815

Please sign in to comment.