mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
fix updating of board profile
This commit is contained in:
@@ -106,6 +106,7 @@ const SettingsApplication: FC = () => {
|
|||||||
|
|
||||||
const changeBoardProfile = (event: React.ChangeEvent<HTMLInputElement>) => {
|
const changeBoardProfile = (event: React.ChangeEvent<HTMLInputElement>) => {
|
||||||
const board_profile = event.target.value;
|
const board_profile = event.target.value;
|
||||||
|
updateFormValue(event);
|
||||||
if (board_profile === 'CUSTOM') {
|
if (board_profile === 'CUSTOM') {
|
||||||
setData({
|
setData({
|
||||||
...data,
|
...data,
|
||||||
|
|||||||
Reference in New Issue
Block a user