mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-02-18 02:55:48 +00:00
Fix 'undefined' being displayed as the person's name
This commit is contained in:
parent
8e33f92a04
commit
6acd00d79b
@ -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: [],
|
||||
},
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user