mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-04 10:25:58 -05:00
Fixed web page error, #3650
This commit is contained in:
parent
196eccf330
commit
bc6d3ce8a0
@ -4049,7 +4049,7 @@
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// If sorted by "Groups-Tags" and a device has no tags, put in a group only section.
|
// If sorted by "Groups-Tags" and a device has no tags, put in a group only section.
|
||||||
if ((sort == 4) && ((node.tags == null) || (node.tags.length == 0))) {
|
if ((sort == 4) && (mesh2 != null) && ((node.tags == null) || (node.tags.length == 0))) {
|
||||||
var tag = mesh2.name;
|
var tag = mesh2.name;
|
||||||
var collapsed = CollapsedGroups['tag:' + encodeURIComponentEx(tag)];
|
var collapsed = CollapsedGroups['tag:' + encodeURIComponentEx(tag)];
|
||||||
var r2 = r.replace('**xx**xx*TaG*xx**xx**', encodeURIComponentEx(tag) + (collapsed?' style=display:none':''));
|
var r2 = r.replace('**xx**xx*TaG*xx**xx**', encodeURIComponentEx(tag) + (collapsed?' style=display:none':''));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user