- added csv import

- added somewhat real stats to dashboard
- basic search logic
This commit is contained in:
grey committed 2023-05-02 18:23:47 +02:00
1 parent e869615ec7
commit d1d717a988
13 files changed
+270 -29

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
document.getElementById("SearchBox").addEventListener("keyup", handleSearchChange);
function handleSearchChange(e) {
console.log(e.target.value);
// Check if known prefix is used (either > or #)
if (e.target.value[0] == ">") {
// Search for commands
} else if (e.target.value[0] == "#") {
// Search for SKU
} else {
// Search for name
}
}