mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
Sensor # to #
This commit is contained in:
@@ -130,7 +130,11 @@ class EMSESPDevicesForm extends Component<
|
|||||||
onClick={() => this.handleRowClick(device.id)}
|
onClick={() => this.handleRowClick(device.id)}
|
||||||
>
|
>
|
||||||
<TableCell component="th" scope="row">
|
<TableCell component="th" scope="row">
|
||||||
<Tooltip title="click for details..." arrow placement="right-end">
|
<Tooltip
|
||||||
|
title="click for details..."
|
||||||
|
arrow
|
||||||
|
placement="right-end"
|
||||||
|
>
|
||||||
<Button
|
<Button
|
||||||
startIcon={<ListIcon />}
|
startIcon={<ListIcon />}
|
||||||
size="small"
|
size="small"
|
||||||
@@ -195,11 +199,9 @@ class EMSESPDevicesForm extends Component<
|
|||||||
{data.sensors.map((sensorData) => (
|
{data.sensors.map((sensorData) => (
|
||||||
<TableRow key={sensorData.no}>
|
<TableRow key={sensorData.no}>
|
||||||
<TableCell component="th" scope="row">
|
<TableCell component="th" scope="row">
|
||||||
Sensor {sensorData.no}
|
{sensorData.no}
|
||||||
</TableCell>
|
|
||||||
<TableCell align="center">
|
|
||||||
{sensorData.id}
|
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
<TableCell align="center">{sensorData.id}</TableCell>
|
||||||
<TableCell align="right">
|
<TableCell align="right">
|
||||||
{formatTemp(sensorData.temp)}
|
{formatTemp(sensorData.temp)}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
|||||||
Reference in New Issue
Block a user