mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-14 20:11:52 +00:00
commit
02ab92195a
1 changed files with 1 additions and 1 deletions
|
@ -6193,7 +6193,7 @@
|
||||||
if (selectedDevices.length == 0) { selectedDevices.push(nodeid); }
|
if (selectedDevices.length == 0) { selectedDevices.push(nodeid); }
|
||||||
for (var i in selectedDevices) { if (stars[selectedDevices[i]] != null) { delete stars[selectedDevices[i]]; delete selectedDevices[i]; } }
|
for (var i in selectedDevices) { if (stars[selectedDevices[i]] != null) { delete stars[selectedDevices[i]]; delete selectedDevices[i]; } }
|
||||||
var starcount = Object.keys(stars).length;
|
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));
|
putstore('stars', JSON.stringify(stars));
|
||||||
updateDeviceViewDevice(nodeid);
|
updateDeviceViewDevice(nodeid);
|
||||||
if (Q('DevFilterSelect').value == 3) { mainUpdate(1); }
|
if (Q('DevFilterSelect').value == 3) { mainUpdate(1); }
|
||||||
|
|
Loading…
Reference in a new issue