mirror of
https://github.com/ANL-CEEESA/RELOG.git
synced 2025-12-06 07:48:50 -06:00
Fix: Remove disposal when deleting product
This commit is contained in:
@@ -207,6 +207,8 @@ const InputPage = () => {
|
|||||||
}
|
}
|
||||||
if (outputFound) {
|
if (outputFound) {
|
||||||
delete plant["outputs (tonne/tonne)"][productName];
|
delete plant["outputs (tonne/tonne)"][productName];
|
||||||
|
delete plant["disposal cost ($/tonne)"][productName];
|
||||||
|
delete plant["disposal limit (tonne)"][productName];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
save(newData);
|
save(newData);
|
||||||
|
|||||||
Reference in New Issue
Block a user