Fixed tag group collapse in list view mode.

This commit is contained in:
Ylian Saint-Hilaire 2020-01-28 11:56:05 -08:00
parent 6ff9037f8e
commit e8ad08bd98
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "meshcentral",
"version": "0.4.8-b",
"version": "0.4.8-d",
"keywords": [
"Remote Management",
"Intel AMT",

View File

@ -3029,7 +3029,7 @@
for (var j in node.tags) {
var tag = node.tags[j];
var collapsed = CollapsedGroups['tag:' + tag];
var r2 = r.replace('**xx**xx*TaG*xx**xx**', tag + (collapsed?' style=display:none':''));
var r2 = r.replace('**xx**xx*TaG*xx**xx**', encodeURIComponent(tag) + (collapsed?' style=display:none':''));
if (groups[tag] == null) { groups[tag] = r2; groupCount[tag] = 1; } else { groups[tag] += r2; groupCount[tag] += 1; }
if (view == 3) break;
}