mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-25 22:55:52 -05:00
Device session filtering fix.
This commit is contained in:
parent
36e8925c4c
commit
3f46572809
2
public/scripts/amt-wsman-0.2.0-min.js
vendored
2
public/scripts/amt-wsman-0.2.0-min.js
vendored
File diff suppressed because one or more lines are too long
@ -4619,7 +4619,7 @@
|
||||
// Check filter dropdown
|
||||
var devFilter = Q('DevFilterSelect').value;
|
||||
if (devFilter == 1) { for (var d in nodes) { if ((nodes[d].conn == null) || (nodes[d].conn == 0)) { nodes[d].v = false; } } } // Online
|
||||
if (devFilter == 2) { for (var d in nodes) { if (nodes[d].sessions == null) { nodes[d].v = false; } } } // Sessions
|
||||
if (devFilter == 2) { for (var d in nodes) { var n = nodes[d]; if ((n.sessions == null) || ((n.sessions.kvm == null) && (n.sessions.terminal == null) && (n.sessions.files == null) && (n.sessions.tcp == null) && (n.sessions.udp == null))) { n.v = false; } } } // Sessions
|
||||
if (devFilter == 3) { for (var d in nodes) { if (stars[nodes[d]._id] != 1) { nodes[d].v = false; } } } // Starred
|
||||
if (devFilter == 4) { for (var d in nodes) { if (nodes[d].intelamt == null) { nodes[d].v = false; } } } // Intel AMT
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user