From bc6d3ce8a0a3ba09af185bcc3d3c9f1ded5e3805 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Tue, 15 Feb 2022 10:57:20 -0800 Subject: [PATCH] Fixed web page error, #3650 --- views/default.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':''));