mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
disable board selection.
This commit is contained in:
@@ -124,13 +124,18 @@ const SettingsApplication: FC = () => {
|
||||
name="board_profile"
|
||||
label={LL.BOARD_PROFILE()}
|
||||
value={data.board_profile}
|
||||
disabled={processingBoard}
|
||||
disabled={processingBoard || data.board_profile === 'C3MINI'}
|
||||
variant="outlined"
|
||||
onChange={changeBoardProfile}
|
||||
margin="normal"
|
||||
select
|
||||
>
|
||||
{boardProfileSelectItems()}
|
||||
{data.board_profile === 'C3MINI' && (
|
||||
<MenuItem key={'C3MINI'} value={'C3MINI'}>
|
||||
C3 Mini
|
||||
</MenuItem>
|
||||
)}
|
||||
<Divider />
|
||||
<MenuItem key={'CUSTOM'} value={'CUSTOM'}>
|
||||
Custom…
|
||||
|
||||
Reference in New Issue
Block a user