diff --git a/geneit_app/src/api/MemberApi.ts b/geneit_app/src/api/MemberApi.ts
index 56d1d49..c952244 100644
--- a/geneit_app/src/api/MemberApi.ts
+++ b/geneit_app/src/api/MemberApi.ts
@@ -103,6 +103,7 @@ export class Member implements MemberDataApi {
id: 0,
dead: false,
family_id: family_id,
+ sex: "M",
});
}
diff --git a/geneit_app/src/routes/family/FamilyCoupleRoute.tsx b/geneit_app/src/routes/family/FamilyCoupleRoute.tsx
index 02dc0db..12a5340 100644
--- a/geneit_app/src/routes/family/FamilyCoupleRoute.tsx
+++ b/geneit_app/src/routes/family/FamilyCoupleRoute.tsx
@@ -22,7 +22,7 @@ import { PropertiesBox } from "../../widgets/PropertiesBox";
import { RouterLink } from "../../widgets/RouterLink";
import { DateInput } from "../../widgets/forms/DateInput";
import { MemberInput } from "../../widgets/forms/MemberInput";
-import { PropSelect } from "../../widgets/forms/SelectInput";
+import { PropSelect } from "../../widgets/forms/PropSelect";
import { UploadPhotoButton } from "../../widgets/forms/UploadPhotoButton";
import { useQuery } from "../../hooks/useQuery";
diff --git a/geneit_app/src/routes/family/FamilyMemberRoute.tsx b/geneit_app/src/routes/family/FamilyMemberRoute.tsx
index ead75c4..a7c7171 100644
--- a/geneit_app/src/routes/family/FamilyMemberRoute.tsx
+++ b/geneit_app/src/routes/family/FamilyMemberRoute.tsx
@@ -33,7 +33,7 @@ import { DateInput } from "../../widgets/forms/DateInput";
import { MemberInput } from "../../widgets/forms/MemberInput";
import { PropCheckbox } from "../../widgets/forms/PropCheckbox";
import { PropEdit } from "../../widgets/forms/PropEdit";
-import { PropSelect } from "../../widgets/forms/SelectInput";
+import { PropSelect } from "../../widgets/forms/PropSelect";
import { SexSelection } from "../../widgets/forms/SexSelection";
import { UploadPhotoButton } from "../../widgets/forms/UploadPhotoButton";
import { useQuery } from "../../hooks/useQuery";
diff --git a/geneit_app/src/widgets/BaseFamilyRoute.tsx b/geneit_app/src/widgets/BaseFamilyRoute.tsx
index 8528afb..c996ee3 100644
--- a/geneit_app/src/widgets/BaseFamilyRoute.tsx
+++ b/geneit_app/src/widgets/BaseFamilyRoute.tsx
@@ -6,6 +6,7 @@ import {
mdiFamilyTree,
mdiHumanMaleFemale,
mdiLockCheck,
+ mdiPlus,
mdiRefresh,
} from "@mdi/js";
import Icon from "@mdi/react";
@@ -18,6 +19,7 @@ import {
ListItem,
ListItemButton,
ListItemIcon,
+ ListItemSecondaryAction,
ListItemText,
ListSubheader,
Tooltip,
@@ -145,12 +147,30 @@ export function BaseFamilyRoute(): React.ReactElement {
icon={}
label="Membres"
uri="members"
+ secondaryAction={
+
+
+
+
+
+
+
+ }
/>
}
label="Couples"
uri="couples"
+ secondaryAction={
+
+
+
+
+
+
+
+ }
/>
{p.icon}
+ {p.secondaryAction && (
+ {p.secondaryAction}
+ )}
);
diff --git a/geneit_app/src/widgets/forms/SelectInput.tsx b/geneit_app/src/widgets/forms/PropSelect.tsx
similarity index 97%
rename from geneit_app/src/widgets/forms/SelectInput.tsx
rename to geneit_app/src/widgets/forms/PropSelect.tsx
index ddbcd3a..e329784 100644
--- a/geneit_app/src/widgets/forms/SelectInput.tsx
+++ b/geneit_app/src/widgets/forms/PropSelect.tsx
@@ -23,7 +23,7 @@ export function PropSelect(p: {
{p.label}