Implement search on the frontend
This commit is contained in:
@@ -54,7 +54,8 @@
|
||||
|
||||
if (!per100Edited)
|
||||
GetLastPer100(name.trim()).then((res) => {
|
||||
if (res.success) {
|
||||
console.log(res.data);
|
||||
if (res.success && res.data) {
|
||||
console.log(res.data[0].food);
|
||||
per100 = res.data[0].per100.toString();
|
||||
}
|
||||
|
Reference in New Issue
Block a user