From 2c0b6356b68f5ecf3e547a293393505a9b203a18 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Thu, 31 Aug 2023 20:36:33 +0200 Subject: [PATCH] Fix bug --- geneit_app/src/widgets/simple_family_tree/SimpleFamilyTree.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geneit_app/src/widgets/simple_family_tree/SimpleFamilyTree.tsx b/geneit_app/src/widgets/simple_family_tree/SimpleFamilyTree.tsx index b771a26..96896fb 100644 --- a/geneit_app/src/widgets/simple_family_tree/SimpleFamilyTree.tsx +++ b/geneit_app/src/widgets/simple_family_tree/SimpleFamilyTree.tsx @@ -307,7 +307,7 @@ function NodeArea(p: { } // If the mother is the mother of all the children, while the // father is not the father of any of the children - if ( + else if ( pers2 && p.node.down.every( (n) => n.member.father !== pers1.id && n.member.mother === pers2!.id