mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-23 12:43:14 -05:00
update star limit to 200
This commit is contained in:
parent
3dd469f1a0
commit
c1ecfc823a
@ -6193,7 +6193,7 @@
|
||||
if (selectedDevices.length == 0) { selectedDevices.push(nodeid); }
|
||||
for (var i in selectedDevices) { if (stars[selectedDevices[i]] != null) { delete stars[selectedDevices[i]]; delete selectedDevices[i]; } }
|
||||
var starcount = Object.keys(stars).length;
|
||||
for (var i in selectedDevices) { if ((starcount < 20) && (stars[selectedDevices[i]] == null)) { stars[selectedDevices[i]] = 1; starcount++; } }
|
||||
for (var i in selectedDevices) { if ((starcount < 200) && (stars[selectedDevices[i]] == null)) { stars[selectedDevices[i]] = 1; starcount++; } }
|
||||
putstore('stars', JSON.stringify(stars));
|
||||
updateDeviceViewDevice(nodeid);
|
||||
if (Q('DevFilterSelect').value == 3) { mainUpdate(1); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user