Skip to content

Commit

Permalink
Update auto_bio.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shogenapps committed Nov 20, 2024
1 parent 7333e7c commit 2a48126
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/features/auto_bio/auto_bio.js
Original file line number Diff line number Diff line change
Expand Up @@ -5593,6 +5593,12 @@ function getFamilySearchDeathDetails(aRef) {
}

function compareLastName(name, person) {
if (!name) {
return { FirstName: person?.FirstName, LastNameAtBirth: person?.LastNameAtBirth, Name: "" };
}
if (!person) {
return { FirstName: "", LastNameAtBirth: "", Name: name };
}
// console.log("Comparing last name for:", name, person);
const nameParts = name.split(" ");
// console.log("Name parts:", nameParts);
Expand Down

0 comments on commit 2a48126

Please sign in to comment.