From 187efc6301525a9e89fbd95a36cc3e35fd439b56 Mon Sep 17 00:00:00 2001 From: bjartur2004 Date: Thu, 29 Aug 2024 00:54:43 +0000 Subject: [PATCH] removed cost input restriction --- Binner/Binner.Web/ClientApp/src/pages/Inventory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Binner/Binner.Web/ClientApp/src/pages/Inventory.js b/Binner/Binner.Web/ClientApp/src/pages/Inventory.js index a493d70..25a7d8e 100644 --- a/Binner/Binner.Web/ClientApp/src/pages/Inventory.js +++ b/Binner/Binner.Web/ClientApp/src/pages/Inventory.js @@ -629,7 +629,7 @@ export function Inventory(props) { default: break; case "cost": - part.cost = Number(part.cost).toFixed(2); + part.cost = Number(part.cost); if (isNaN(part.cost)) part.cost = Number(0).toFixed(2); break; }