mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-26 14:13:14 -05:00
Fixed tag group collapse in list view mode.
This commit is contained in:
parent
6ff9037f8e
commit
e8ad08bd98
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.4.8-b",
|
"version": "0.4.8-d",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Management",
|
"Remote Management",
|
||||||
"Intel AMT",
|
"Intel AMT",
|
||||||
|
@ -3029,7 +3029,7 @@
|
|||||||
for (var j in node.tags) {
|
for (var j in node.tags) {
|
||||||
var tag = node.tags[j];
|
var tag = node.tags[j];
|
||||||
var collapsed = CollapsedGroups['tag:' + tag];
|
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 (groups[tag] == null) { groups[tag] = r2; groupCount[tag] = 1; } else { groups[tag] += r2; groupCount[tag] += 1; }
|
||||||
if (view == 3) break;
|
if (view == 3) break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user