hotfix for the moisture not being visible for custom grain types

This commit is contained in:
csawatzky 2025-11-12 16:30:49 -06:00
parent 181f1194e2
commit d831677769

View file

@ -2222,11 +2222,13 @@ export default function BinSettings(props: Props) {
</Grid> </Grid>
</Grid> </Grid>
</Box> </Box>
{!isCustomInventory && (
<Box marginTop={1}> <Box marginTop={1}>
<Typography variant="body1" align="center" gutterBottom> <Typography variant="body1" align="center" gutterBottom>
Moisture Moisture
</Typography> </Typography>
{isCustomInventory && (
<Typography variant="caption">You are using a custom Grain type, the drying estimate may not be accurate</Typography>
)}
<Box marginTop={1}> <Box marginTop={1}>
<TextField <TextField
label="Target EMC" label="Target EMC"
@ -2318,7 +2320,7 @@ export default function BinSettings(props: Props) {
</Grid> </Grid>
</Grid> </Grid>
</Box> </Box>
)}
</Box> </Box>
); );
}; };