Skip to content
Snippets Groups Projects
Commit 08097206 authored by Princelle Maxime's avatar Princelle Maxime :gay_pride_flag:
Browse files

:bug: include email in user search

parent a8159232
Branches
1 merge request!7🔀 V1
......@@ -13,6 +13,7 @@ const Users = () => {
let filteredUsers = rawUsers.filter(user => {
return user.nom.toLowerCase().includes(search.toLowerCase()) ||
user.prenom.toLowerCase().includes(search.toLowerCase()) ||
user.email.toLowerCase().includes(search.toLowerCase()) ||
user.studentNumber.toString().toLowerCase().includes(search.toLowerCase());
});
setUsersList(filteredUsers);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment