diff --git a/views/default.handlebars b/views/default.handlebars index d0e3e492..6b0149e7 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -4049,7 +4049,7 @@ } } else { // 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 collapsed = CollapsedGroups['tag:' + encodeURIComponentEx(tag)]; var r2 = r.replace('**xx**xx*TaG*xx**xx**', encodeURIComponentEx(tag) + (collapsed?' style=display:none':''));