mirror of
https://github.com/ANL-CEEESA/RELOG.git
synced 2025-12-06 07:48:50 -06:00
Hide disposal for non-primary products
This commit is contained in:
@@ -111,7 +111,10 @@ const ProductBlock = (props) => {
|
|||||||
onTemplate={onInitialAmountsTemplate}
|
onTemplate={onInitialAmountsTemplate}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<h1>Disposal</h1>
|
<h1 style={{ display: nCenters == 0 ? "none" : "block" }}>
|
||||||
|
Disposal
|
||||||
|
</h1>
|
||||||
|
<div style={{ display: nCenters == 0 ? "none" : "block" }}>
|
||||||
<TextInputRow
|
<TextInputRow
|
||||||
label="Disposal cost"
|
label="Disposal cost"
|
||||||
unit="$/tonne"
|
unit="$/tonne"
|
||||||
@@ -139,6 +142,7 @@ const ProductBlock = (props) => {
|
|||||||
validate="floatList"
|
validate="floatList"
|
||||||
disabled={props.value["disposal limit (tonne)"].length > 0}
|
disabled={props.value["disposal limit (tonne)"].length > 0}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h1>Transportation</h1>
|
<h1>Transportation</h1>
|
||||||
<TextInputRow
|
<TextInputRow
|
||||||
|
|||||||
Reference in New Issue
Block a user