mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-22 12:52:50 +03:00
always show active users for offline devices #6421
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
1d87c42977
commit
19d0df7e7f
File diff suppressed because it is too large
Load Diff
@ -6260,6 +6260,9 @@
|
||||
x += addDetailItem("Antivirus", y.join('<br />'));
|
||||
}
|
||||
|
||||
// Active Users
|
||||
if (node.users && (node.users.length > 0)) { x += addDetailItem(((node.users.length > 1)?"Active Users":"Active User"), EscapeHtml(node.users.join(', '))); }
|
||||
|
||||
if (x != '') { sections.push({ name: "Operating System", html: x, img: 'software' }); }
|
||||
|
||||
// MeshAgent
|
||||
|
@ -7592,7 +7592,7 @@
|
||||
}
|
||||
|
||||
// Active Users
|
||||
if (node.users && node.conn && (node.users.length > 0) && (node.conn & 1)) { x += addDeviceAttribute(((node.users.length > 1)?"Active Users":"Active User"), EscapeHtml(node.users.join(', '))); }
|
||||
if (node.users && (node.users.length > 0)) { x += addDeviceAttribute(((node.users.length > 1)?"Active Users":"Active User"), EscapeHtml(node.users.join(', '))); }
|
||||
|
||||
// Display device user consent
|
||||
if ((node.agent != null) && (node.agent.id != 14) && (node.mtype != 3)) {
|
||||
|
Loading…
Reference in New Issue
Block a user