add first agent connection to the details page and attribute firstconnect #7408

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458
2025-11-16 18:53:30 +00:00
parent 9545bec218
commit a1f182426e
6 changed files with 7153 additions and 6745 deletions

View File

@@ -6384,6 +6384,7 @@
if (node.agent.id == 14) { str = node.agent.core; }
x += addDetailItem("Mesh Agent", str);
}
if (node.firstconnect) { x += addDetailItem("First agent connection", printDateTime(new Date(node.firstconnect))); }
if ((node.conn & 1) != 0) {
x += addDetailItem("Last agent connection", "Connected now");
} else {