Show children of couple

This commit is contained in:
2023-08-16 13:35:00 +02:00
parent dd18ee129d
commit ec856b5cb4
2 changed files with 10 additions and 1 deletions

View File

@ -124,7 +124,7 @@ export function FamilyCoupleRoute(): React.ReactElement {
build={() => (
<CouplePage
couple={couple!}
children={[]} // TODO
children={family.members.childrenOfCouple(couple!)}
creating={false}
editing={false}
onRequestDelete={deleteCouple}
@ -360,6 +360,7 @@ export function CouplePage(p: {
filter={(m) => m.sex === "F" || m.sex === undefined}
current={couple.wife}
/>
<br />
{/* State */}
<PropSelect