Skip to content

Commit

Permalink
Fix all unknown persons registered as same individual
Browse files Browse the repository at this point in the history
  • Loading branch information
l0drex committed Aug 15, 2022
1 parent 879278a commit 599cd76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 599cd76

Please sign in to comment.