mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-31 11:09:10 +03:00
custom board option only in developer mode
This commit is contained in:
@@ -503,9 +503,11 @@ const ApplicationSettings = () => {
|
|||||||
boardProfileItems
|
boardProfileItems
|
||||||
)}
|
)}
|
||||||
<Divider />
|
<Divider />
|
||||||
<MenuItem key={'CUSTOM'} value={'CUSTOM'}>
|
{(data.board_profile === 'CUSTOM' || data.developer_mode) && (
|
||||||
{LL.CUSTOM()}…
|
<MenuItem key={'CUSTOM'} value={'CUSTOM'}>
|
||||||
</MenuItem>
|
{LL.CUSTOM()}…
|
||||||
|
</MenuItem>
|
||||||
|
)}
|
||||||
</TextField>
|
</TextField>
|
||||||
{data.board_profile === 'CUSTOM' && (
|
{data.board_profile === 'CUSTOM' && (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user