Rework search to return a list

Like a proper search would!"
This commit is contained in:
2024-08-13 17:41:01 +02:00
parent a6626761e7
commit 8fd8d53cc3
6 changed files with 61 additions and 32 deletions

View File

@@ -55,7 +55,8 @@
if (!per100Edited)
GetLastPer100(name.trim()).then((res) => {
if (res.success) {
per100 = res.data.toString();
console.log(res.data[0].food);
per100 = res.data[0].per100.toString();
}
});
}