mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-14 03:46:49 +03:00
Feature Request: Make the "EMS-ESP" title text in the web interface configurable.
Fixes #3110
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export interface Settings {
|
||||
system_name: string;
|
||||
locale: string;
|
||||
tx_mode: number;
|
||||
ems_bus_id: number;
|
||||
|
||||
@@ -189,7 +189,19 @@ const ApplicationSettings = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Typography sx={{ pb: 1 }} variant="h6" color="primary">
|
||||
<Typography variant="h6" color="primary">
|
||||
{LL.SYSTEM(0)}
|
||||
{LL.CUSTOMIZATIONS()}
|
||||
</Typography>
|
||||
<TextField
|
||||
name="system_name"
|
||||
label={LL.SYSTEM_NAME()}
|
||||
value={data.system_name}
|
||||
variant="outlined"
|
||||
onChange={updateFormValue}
|
||||
margin="normal"
|
||||
/>
|
||||
<Typography sx={{ pb: 1, pt: 2 }} variant="h6" color="primary">
|
||||
{LL.SERVICES()}
|
||||
</Typography>
|
||||
<Typography color="secondary">API</Typography>
|
||||
|
||||
Reference in New Issue
Block a user