Commit f311147a authored by Kevin Kaminski's avatar Kevin Kaminski

[AFP-NA] fix the search input to accept either lower or upper case characters...

[AFP-NA] fix the search input to accept either lower or upper case characters and still be able to search successfully. [@kkaminski]
parent 86b509ea
......@@ -43,7 +43,7 @@ const OrderIndexPage = () => {
useEffect(() => {
const newArray: Order[] = []
for (const ele of allOrders) {
if (ele.id.includes(searchInput)) {
if (ele.id.includes(searchInput.toLowerCase())) {
newArray.push(ele)
}
}
......
Markdown is supported
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