diff --git a/frontend/src/views/FuelSupplies/AddEditFuelSupplies.jsx b/frontend/src/views/FuelSupplies/AddEditFuelSupplies.jsx index a6289c0d7..7d7c4bd29 100644 --- a/frontend/src/views/FuelSupplies/AddEditFuelSupplies.jsx +++ b/frontend/src/views/FuelSupplies/AddEditFuelSupplies.jsx @@ -126,12 +126,12 @@ export const AddEditFuelSupplies = () => { const fuelCategoryOptions = selectedFuelType.fuelCategories.map( (item) => item.fuelCategory ) - if (selectedFuelType.fuelType !== 'Other') { - params.node.setDataValue( - 'fuelCategory', - fuelCategoryOptions[0] ?? null - ) - } + + params.node.setDataValue( + 'fuelCategory', + fuelCategoryOptions[0] ?? null + ) + const fuelCodeOptions = selectedFuelType.fuelCodes.map( (code) => code.fuelCode )