Genealogy as a feature #175

Merged
pierre merged 16 commits from genealogy_as_a_feature into master 2024-05-16 19:15:16 +00:00
Showing only changes of commit bfd15a0be9 - Show all commits

View File

@ -180,7 +180,11 @@ function MembersTable(p: {
flex: 5,
renderCell(params) {
if (!params.row.father)
return <Typography color="red">Non renseigné</Typography>;
return (
<Typography color="red" component="span" variant="body2">
Non renseigné
</Typography>
);
return genealogy.members.get(params.row.father)!.fullName;
},
},
@ -190,7 +194,11 @@ function MembersTable(p: {
flex: 5,
renderCell(params) {
if (!params.row.mother)
return <Typography color="red">Non renseignée</Typography>;
return (
<Typography color="red" component="span" variant="body2">
Non renseignée
</Typography>
);
return genealogy.members.get(params.row.mother)!.fullName;
},
},