Web: Fix parsing of disposal limit

This commit is contained in:
2023-03-08 09:42:02 -06:00
parent b3a6632d7e
commit 3b3ecbde27
3 changed files with 5 additions and 3 deletions

View File

@@ -235,7 +235,7 @@ const InputPage = () => {
"disposal limit (tonne)",
].forEach((key) => {
newData.plants[plantName][key] = { ...newData.plants[plantName][key] };
newData.plants[plantName][key][productName] = 0;
newData.plants[plantName][key][productName] = "0";
});
save(newData);
return newData;