Skip to content

Commit

Permalink
Fix: Remove disposal when deleting product
Browse files Browse the repository at this point in the history
  • Loading branch information
iSoron committed Jul 7, 2023
1 parent c86dda1 commit 84bd25b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions relog-web/src/casebuilder/InputPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 84bd25b

Please sign in to comment.