diff --git a/src/components/Inputs/Technoeconomic/GasificationPower/ExpensesBaseYearInputGP.tsx b/src/components/Inputs/Technoeconomic/GasificationPower/ExpensesBaseYearInputGP.tsx index d578c20..9ee6003 100644 --- a/src/components/Inputs/Technoeconomic/GasificationPower/ExpensesBaseYearInputGP.tsx +++ b/src/components/Inputs/Technoeconomic/GasificationPower/ExpensesBaseYearInputGP.tsx @@ -228,7 +228,7 @@ export const ExpensesBaseYearInputGP = (props: Props) => { Cost of maintaining the plant - + { } disabled={props.disabled} /> - props.setInputs({ ...props.inputs, IncomeOtherThanEnergy: inputs }) @@ -117,7 +117,7 @@ export const GasificationPower = (props: Props) => { }} disabled={props.disabled} > */} - props.setInputs({ ...props.inputs, EscalationInflation: inputs }) diff --git a/src/components/Inputs/Technoeconomic/GasificationPower/IncomeOtherThanEnergyInputGP.tsx b/src/components/Inputs/Technoeconomic/GasificationPower/IncomeOtherThanEnergyInputGP.tsx index 8446555..b2e41d5 100644 --- a/src/components/Inputs/Technoeconomic/GasificationPower/IncomeOtherThanEnergyInputGP.tsx +++ b/src/components/Inputs/Technoeconomic/GasificationPower/IncomeOtherThanEnergyInputGP.tsx @@ -8,11 +8,11 @@ import { Input, InputGroupAddon } from 'reactstrap'; -import { IncomeOtherThanEnergyInputModGPClass } from '../../../../models/GPClasses'; interface Props { inputs: IncomeOtherThanEnergyInputModGP; setInputs: (inputs: any) => void; + disabled: boolean; } export const IncomeOtherThanEnergyInputGP = (props: Props) => { @@ -33,6 +33,7 @@ export const IncomeOtherThanEnergyInputGP = (props: Props) => { CapacityPayment: e.target.value }) } + disabled={props.disabled} /> $/kW-year @@ -53,6 +54,7 @@ export const IncomeOtherThanEnergyInputGP = (props: Props) => { InterestRateOnDebtReserve: e.target.value }) } + disabled={props.disabled} /> %/year @@ -73,6 +75,7 @@ export const IncomeOtherThanEnergyInputGP = (props: Props) => { SalesPriceForChar: e.target.value }) } + disabled={props.disabled} /> $/t