mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed device group ordering.
This commit is contained in:
parent
4d3b3c78f0
commit
c70d755854
5 changed files with 14 additions and 5 deletions
|
@ -8017,7 +8017,10 @@ var QRCode;!function(){function a(a){this.mode=c.MODE_8BIT_BYTE,this.data=a,this
|
|||
meshserver.send({ action: 'nodes' }); // Request a refresh of all nodes (TODO: We could optimize this to only request nodes for the new mesh).
|
||||
} else {
|
||||
// This is an existing mesh
|
||||
if (message.event.name != null) { meshes[message.event.meshid].name = message.event.name; }
|
||||
if (message.event.name != null) {
|
||||
meshes[message.event.meshid].name = message.event.name;
|
||||
for (var i in nodes) { if (nodes[i].meshid == message.event.meshid) { nodes[i].meshnamel = message.event.name.toLowerCase(); } }
|
||||
}
|
||||
if (message.event.desc != null) { meshes[message.event.meshid].desc = message.event.desc; }
|
||||
if (message.event.flags != null) { meshes[message.event.meshid].flags = message.event.flags; }
|
||||
if (message.event.consent != null) { meshes[message.event.meshid].consent = message.event.consent; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue