diff --git a/src/components/WorkPerson/WorkPerson.tsx b/src/components/WorkPerson/WorkPerson.tsx index b3544122..fe7cfdf7 100644 --- a/src/components/WorkPerson/WorkPerson.tsx +++ b/src/components/WorkPerson/WorkPerson.tsx @@ -38,14 +38,16 @@ const WorkPerson: React.FunctionComponent = ({ person }) => { {person.affiliation.length > 0 && ( <> -
+
{person.affiliation.map((item) => item.id ? ( - - {item.name} - +
+ + {item.name} + +
) : ( -
{item.name}
+
{item.name}
) )}
@@ -69,14 +71,16 @@ const WorkPerson: React.FunctionComponent = ({ person }) => { {person.affiliation.length > 0 && ( <> -
+
{person.affiliation.map((item) => item.id ? ( - - {item.name} - +
+ + {item.name} + +
) : ( -
{item.name}
+
{item.name}
) )}
@@ -95,14 +99,16 @@ const WorkPerson: React.FunctionComponent = ({ person }) => {

{name}

{person.affiliation.length > 0 && ( <> -
+
{person.affiliation.map((item) => item.id ? ( - - {item.name} - +
+ + {item.name} + +
) : ( -
{item.name}
+
{item.name}
) )}