diff --git a/src/backend/graph.ts b/src/backend/graph.ts index 51e607c5..f221eb07 100644 --- a/src/backend/graph.ts +++ b/src/backend/graph.ts @@ -31,7 +31,7 @@ export class GraphPerson extends GedcomX.DisplayProperties implements GraphObjec equals = (person: GedcomX.Person | GraphPerson | GedcomX.DisplayProperties) => { if (person instanceof GedcomX.DisplayProperties) { return person.getName() === this.getName() - && person.getBirthDate() === this.getBirthDate(); + && person.getAscendancyNumber() === this.getAscendancyNumber(); } if (person instanceof GraphPerson) { diff --git a/src/components/InfoPanel.tsx b/src/components/InfoPanel.tsx index 488ba1dd..1db7f9ef 100644 --- a/src/components/InfoPanel.tsx +++ b/src/components/InfoPanel.tsx @@ -21,6 +21,7 @@ class InfoPanel extends Component { {person.getMarriedName() &&

{person.getBirthName()}

} {person.getAlsoKnownAs() &&

{person.getAlsoKnownAs()}

} + {person.getNickname() &&

{person.getNickname()}

}