mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-03-04 23:27:46 +01:00
Modify node.html to add statistics
This commit is contained in:
@@ -1143,7 +1143,7 @@ async function loadNodeStats(nodeId) {
|
||||
const seen = data?.total_seen ?? 0;
|
||||
|
||||
document.getElementById("info-stats").textContent =
|
||||
`24h · Packets sent: ${packets.toLocaleString()} · Times seen: ${seen.toLocaleString()}`;
|
||||
`24h · Packets sent: ${packets.toLocaleString()} · Times seen: ${seen.toLocaleString()} `;
|
||||
} catch (err) {
|
||||
console.error("Failed to load node stats:", err);
|
||||
document.getElementById("info-stats").textContent = "—";
|
||||
|
||||
Reference in New Issue
Block a user