Started automated OpenAPI naming

This commit is contained in:
frikky
2020-06-15 20:45:48 +02:00
parent 7eac745d9d
commit 4e6b12dc28
2 changed files with 66 additions and 3 deletions
+4
View File
@@ -500,6 +500,10 @@ const Apps = (props) => {
}
const handleSearchChange = (search) => {
if (apps === undefined || apps === null || apps.length === 0) {
return
}
const searchfield = search.toLowerCase()
const newapps = apps.filter(data => data.name.toLowerCase().includes(searchfield) || data.description.toLowerCase().includes(searchfield))