Can easily create children from member route
This commit is contained in:
parent
ee14d629d4
commit
ce5fb3077d
@ -657,6 +657,18 @@ export function MemberPage(p: {
|
||||
</RouterLink>
|
||||
))
|
||||
)}
|
||||
|
||||
<div style={{ display: "flex", justifyContent: "end" }}>
|
||||
<RouterLink
|
||||
to={family.family.URL(
|
||||
`member/create?${
|
||||
member.sex === "F" ? "mother" : "father"
|
||||
}=${member.id}`
|
||||
)}
|
||||
>
|
||||
<Button>Nouveau</Button>
|
||||
</RouterLink>
|
||||
</div>
|
||||
</PropertiesBox>
|
||||
</Grid>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user