mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-12-05 07:12:25 -05:00
add first agent connection to the details page and attribute firstconnect #7408
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user