From a8fcec2bcbf9dbd8cd14c1c487fc811288481a83 Mon Sep 17 00:00:00 2001 From: charlinedev Date: Wed, 27 Sep 2023 12:03:27 +0200 Subject: [PATCH] lastModif --- src/pages/admin/users/index.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/pages/admin/users/index.tsx b/src/pages/admin/users/index.tsx index 854ea9c25..74736b6a3 100644 --- a/src/pages/admin/users/index.tsx +++ b/src/pages/admin/users/index.tsx @@ -71,15 +71,16 @@ const Users = () => { const datasToExport = filteredUsers.map((user) => { return { - pseudo: user.pseudo, + firstname: user.firstname, + lastname: user.lastname, email: user.email, - school: user.school ? user.school : 'Non renseignée', - village: user.villageId ? villageMap[user.villageId]?.name : 'Non renseigné', - country: user.country ? user.country.name : 'Non renseigné', + school: user.school ? user.school : 'Non renseignee', + village: user.villageId ? villageMap[user.villageId]?.name : 'Non renseigne', + country: user.country ? user.country.name : 'Non renseigne', }; }); - const headers = ['Pseudo', 'Email', 'Ecole', 'Village', 'Pays']; + const headers = ['Prenom', 'Nom', 'Email', 'Ecole', 'Village', 'Pays']; let userLabel = 'liste-utilisateurs-';