mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-08-07 09:13:04 +02:00
Add dynamic text replacement. Closes #223.
This commit is contained in:
@@ -99,7 +99,12 @@ export function TelemetryPane({
|
||||
{data.recv_errors.toLocaleString()}
|
||||
{data.packets_received > 0 && (
|
||||
<Secondary>
|
||||
({((data.recv_errors / (data.packets_received + data.recv_errors)) * 100).toFixed(2)}%)
|
||||
(
|
||||
{(
|
||||
(data.recv_errors / (data.packets_received + data.recv_errors)) *
|
||||
100
|
||||
).toFixed(2)}
|
||||
%)
|
||||
</Secondary>
|
||||
)}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user