mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-03-12 02:23:46 +00:00
Do not show plus sign for living people in WikiTree
This commit is contained in:
@@ -279,7 +279,10 @@ function convertPerson(person: Person): JsonIndi {
|
||||
);
|
||||
indi.birth = Object.assign({}, parsedDate, {place: person.BirthLocation});
|
||||
}
|
||||
if (person.DeathDate || person.DeathLocation) {
|
||||
if (
|
||||
(person.DeathDate && person.DeathDate !== '0000-00-00') ||
|
||||
person.DeathLocation
|
||||
) {
|
||||
const parsedDate = parseDate(
|
||||
person.DeathDate,
|
||||
person.DataStatus && person.DataStatus.DeathDate,
|
||||
|
||||
Reference in New Issue
Block a user