mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 07:05:52 -05: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; }
|
if ((node.conn & 1) == 0) { delete node.sessions; }
|
||||||
|
|
||||||
// Web page update
|
// Web page update
|
||||||
updateDeviceViewDevice(node);
|
var filter = Q('DevFilterSelect').value;
|
||||||
mainUpdate(1 | 16);
|
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);
|
refreshDevice(node._id);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user