Sort inventory-related queries and fix toast message syntax in inventory template
This commit is contained in:
parent
bb564809ea
commit
1ba0380dde
2 changed files with 5 additions and 5 deletions
|
@ -191,7 +191,7 @@
|
|||
const id = document.querySelector("#inventoryId").value;
|
||||
|
||||
if (!id || id === "None") {
|
||||
renderToast({ message: "No item ID found to delete.", type: "danger }");
|
||||
renderToast({ message: "No item ID found to delete.", type: "danger"} );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue