mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
make all REMOVE and UPDATE buttons look the same
This commit is contained in:
@@ -195,9 +195,9 @@ const DevicesDialog = ({
|
||||
</Button>
|
||||
<Button
|
||||
startIcon={<WarningIcon color="warning" />}
|
||||
variant="contained"
|
||||
variant="outlined"
|
||||
onClick={save}
|
||||
color="info"
|
||||
color="primary"
|
||||
>
|
||||
{selectedItem.v === '' && selectedItem.c ? LL.EXECUTE() : LL.UPDATE()}
|
||||
</Button>
|
||||
|
||||
@@ -322,7 +322,7 @@ const SensorsAnalogDialog = ({
|
||||
<Button
|
||||
startIcon={<RemoveIcon />}
|
||||
variant="outlined"
|
||||
color="error"
|
||||
color="warning"
|
||||
onClick={remove}
|
||||
>
|
||||
{LL.REMOVE()}
|
||||
@@ -339,9 +339,9 @@ const SensorsAnalogDialog = ({
|
||||
</Button>
|
||||
<Button
|
||||
startIcon={<WarningIcon color="warning" />}
|
||||
variant="contained"
|
||||
variant="outlined"
|
||||
onClick={save}
|
||||
color="info"
|
||||
color="primary"
|
||||
>
|
||||
{creating ? LL.ADD(0) : LL.UPDATE()}
|
||||
</Button>
|
||||
|
||||
@@ -122,9 +122,9 @@ const SensorsTemperatureDialog = ({
|
||||
</Button>
|
||||
<Button
|
||||
startIcon={<WarningIcon color="warning" />}
|
||||
variant="contained"
|
||||
variant="outlined"
|
||||
onClick={save}
|
||||
color="info"
|
||||
color="primary"
|
||||
>
|
||||
{LL.UPDATE()}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user