mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-29 20:05:51 +02:00
Lower-case search field.
This commit is contained in:
parent
dc6db72c03
commit
5f47357960
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
node_modules
|
||||
docker/data
|
||||
.DS_Store
|
||||
data/
|
|
@ -5,6 +5,7 @@ async function load() {
|
|||
items = await response.json();
|
||||
for (item of items) {
|
||||
item.search = item.name + " " + item.unit;
|
||||
item.search = item.search.toLowerCase();
|
||||
}
|
||||
|
||||
console.log(items.length);
|
||||
|
|
Loading…
Reference in New Issue
Block a user