mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
auto-formatting
This commit is contained in:
@@ -36,7 +36,9 @@ export function formatValue(
|
||||
}
|
||||
return (
|
||||
(value as string) +
|
||||
(value === '' || uom === undefined || uom === 0 ? '' : ' ' + DeviceValueUOM_s[uom])
|
||||
(value === '' || uom === undefined || uom === 0
|
||||
? ''
|
||||
: ' ' + DeviceValueUOM_s[uom])
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user