Skip to content

Commit

Permalink
quick fix for people past identiies. Only showing those with dates. R…
Browse files Browse the repository at this point in the history
…efs #23
  • Loading branch information
raffazizzi committed Jul 22, 2024
1 parent 086c522 commit ba6d8f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/people-past.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import './people.css'
const PeoplePastPage = ({ data }) => {

function makePerson(person) {
let identities = person.linked_identities || []
let identities = (person.linked_identities || []).filter(i => i.data.start)
return (
<article className="person" id={person.new_id} title={person.name} key={`p-${person.new_id}`}>
<h3 className="name">{person.name}</h3>
Expand Down

0 comments on commit ba6d8f4

Please sign in to comment.