mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-05-26 23:26:15 +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});
|
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(
|
const parsedDate = parseDate(
|
||||||
person.DeathDate,
|
person.DeathDate,
|
||||||
person.DataStatus && person.DataStatus.DeathDate,
|
person.DataStatus && person.DataStatus.DeathDate,
|
||||||
|
|||||||
Reference in New Issue
Block a user