mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-03-12 02:23:46 +00:00
Fix 'undefined' being displayed as the person's name
This commit is contained in:
@@ -387,7 +387,7 @@ function buildGedcom(indis: JsonIndi[]): GedcomData {
|
||||
level: 1,
|
||||
pointer: '',
|
||||
tag: 'NAME',
|
||||
data: `${indi.firstName} /${indi.lastName}/`,
|
||||
data: `${indi.firstName || ''} /${indi.lastName || ''}/`,
|
||||
tree: [],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user