mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix double click
This commit is contained in:
@@ -412,12 +412,7 @@ class EMSESPDataForm extends Component<
|
|||||||
<TableCell padding="checkbox">
|
<TableCell padding="checkbox">
|
||||||
{me.admin && (
|
{me.admin && (
|
||||||
<StyledTooltip title="edit" placement="left-end">
|
<StyledTooltip title="edit" placement="left-end">
|
||||||
<IconButton
|
<IconButton edge="start" size="small" aria-label="Edit">
|
||||||
edge="start"
|
|
||||||
size="small"
|
|
||||||
aria-label="Edit"
|
|
||||||
onClick={() => this.sendSensor(sensorData)}
|
|
||||||
>
|
|
||||||
<EditIcon color="primary" fontSize="small" />
|
<EditIcon color="primary" fontSize="small" />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</StyledTooltip>
|
</StyledTooltip>
|
||||||
@@ -612,7 +607,6 @@ class EMSESPDataForm extends Component<
|
|||||||
edge="start"
|
edge="start"
|
||||||
size="small"
|
size="small"
|
||||||
aria-label="Edit"
|
aria-label="Edit"
|
||||||
onClick={() => this.sendCommand(item)}
|
|
||||||
>
|
>
|
||||||
<EditIcon color="primary" fontSize="small" />
|
<EditIcon color="primary" fontSize="small" />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|||||||
Reference in New Issue
Block a user