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