mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-05-26 23:26:15 +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,
|
level: 1,
|
||||||
pointer: '',
|
pointer: '',
|
||||||
tag: 'NAME',
|
tag: 'NAME',
|
||||||
data: `${indi.firstName} /${indi.lastName}/`,
|
data: `${indi.firstName || ''} /${indi.lastName || ''}/`,
|
||||||
tree: [],
|
tree: [],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user