mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
formatting
This commit is contained in:
@@ -455,10 +455,14 @@ const Sensors = () => {
|
||||
as.g !== GPIO_26) ||
|
||||
as.t === AnalogType.DIGITAL_IN ||
|
||||
as.t === AnalogType.PULSE ? (
|
||||
<Cell stiff>{as.g !== 99 ? as.v ? LL.ON() : LL.OFF() : ''}</Cell>
|
||||
<Cell stiff>
|
||||
{as.g !== 99 ? (as.v ? LL.ON() : LL.OFF()) : ''}
|
||||
</Cell>
|
||||
) : (
|
||||
<Cell stiff>
|
||||
{as.t !== AnalogType.NOTUSED && as.g !== 99 ? formatValue(as.v, as.u) : ''}
|
||||
{as.t !== AnalogType.NOTUSED && as.g !== 99
|
||||
? formatValue(as.v, as.u)
|
||||
: ''}
|
||||
</Cell>
|
||||
)}
|
||||
</Row>
|
||||
|
||||
Reference in New Issue
Block a user