Skip to content

Commit

Permalink
fix case insensitive search
Browse files Browse the repository at this point in the history
  • Loading branch information
queryluke committed Apr 5, 2021
1 parent 8d4a8a5 commit 443a961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/MeListPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default {
default: (item, search = null, filters = [], selectedFilters = {}) => {
const matches = []
if (search && search.length > 0) {
matches.push(item.name.toLowerCase().includes(search))
matches.push(item.name.toLowerCase().includes(search.toLowerCase()))
}
for (const filter of filters) {
// filter value
Expand Down

0 comments on commit 443a961

Please sign in to comment.