mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-18 01:31:47 +00:00
Fix lint warnings
This commit is contained in:
@@ -119,9 +119,9 @@ export function convertFams(people: Person[]): JsonFam[] {
|
||||
if (husband) {
|
||||
fam.husb = husband;
|
||||
}
|
||||
fam.children = Array.from(getSet(children, key)).map(
|
||||
(child) => idToName.get(child)!,
|
||||
);
|
||||
fam.children = Array.from(getSet(children, key))
|
||||
.map((child) => idToName.get(child))
|
||||
.filter((x) => !!x) as string[];
|
||||
if (
|
||||
value.spouse &&
|
||||
((value.spouse.marriage_date &&
|
||||
|
||||
Reference in New Issue
Block a user