diff --git a/geneit_app/src/routes/family/FamilyMembersListRoute.tsx b/geneit_app/src/routes/family/FamilyMembersListRoute.tsx
index bb0eac9..49cc89a 100644
--- a/geneit_app/src/routes/family/FamilyMembersListRoute.tsx
+++ b/geneit_app/src/routes/family/FamilyMembersListRoute.tsx
@@ -4,7 +4,7 @@ import EditIcon from "@mui/icons-material/Edit";
import FemaleIcon from "@mui/icons-material/Female";
import MaleIcon from "@mui/icons-material/Male";
import VisibilityIcon from "@mui/icons-material/Visibility";
-import { Button, TextField, Tooltip } from "@mui/material";
+import { Button, TextField, Tooltip, Typography } from "@mui/material";
import { DataGrid, GridActionsCellItem, GridColDef } from "@mui/x-data-grid";
import React from "react";
import { useNavigate } from "react-router-dom";
@@ -165,7 +165,8 @@ function MembersTable(p: {
headerName: "Père",
flex: 5,
renderCell(params) {
- if (!params.row.father) return <>>;
+ if (!params.row.father)
+ return Non renseigné;
return family.members.get(params.row.father)!.fullName;
},
},
@@ -174,7 +175,8 @@ function MembersTable(p: {
headerName: "Mère",
flex: 5,
renderCell(params) {
- if (!params.row.mother) return <>>;
+ if (!params.row.mother)
+ return Non renseignée;
return family.members.get(params.row.mother)!.fullName;
},
},