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
2f665a514e
commit
d1a9bd3ef4
5 changed files with 14 additions and 5 deletions
|
@ -888,7 +888,10 @@
|
|||
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
|
||||
meshes[message.event.meshid].name = message.event.name;
|
||||
if (meshes[message.event.meshid].name != message.event.name) {
|
||||
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(); } }
|
||||
}
|
||||
meshes[message.event.meshid].desc = message.event.desc;
|
||||
meshes[message.event.meshid].links = message.event.links;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue