mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-23 14:46:49 +03:00
Fixed online/offline filter.
This commit is contained in:
parent
039e395336
commit
0e7cc2c30d
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
@ -2964,8 +2964,15 @@
|
||||
if ((node.conn & 1) == 0) { delete node.sessions; }
|
||||
|
||||
// Web page update
|
||||
updateDeviceViewDevice(node);
|
||||
mainUpdate(1 | 16);
|
||||
var filter = Q('DevFilterSelect').value;
|
||||
if ((filter == 1) || (filter == 5)) {
|
||||
// We are looking at online or offline devices. This may change that state.
|
||||
mainUpdate(1 | 4 | 16);
|
||||
} else {
|
||||
// We are looking at a different filter, just update that specific device.
|
||||
updateDeviceViewDevice(node);
|
||||
mainUpdate(1 | 16);
|
||||
}
|
||||
refreshDevice(node._id);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user