Initial backend app search engine finished

This commit is contained in:
frikky
2020-05-23 20:36:57 +02:00
parent 4efaf4c754
commit 8fd2f9df0c
4 changed files with 60 additions and 33 deletions
+5
View File
@@ -652,6 +652,11 @@ const Apps = (props) => {
})
.then((responseJson) => {
console.log(responseJson)
if (responseJson.success) {
if (responseJson.reason !== undefined && responseJson.reason.length > 0) {
setFilteredApps(responseJson.reason)
}
}
})
.catch(error => {
alert.error(error.toString())