Fix bug on status filter for members list
This commit is contained in:
parent
7c6aa5d238
commit
a5fc07c93e
@ -16,7 +16,7 @@ const filterByStatus = (status, members) => {
|
||||
return members
|
||||
} else {
|
||||
return members.filter(
|
||||
(member) => member.status === status
|
||||
(member) => member.status.toLowerCase() === status
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user