Fixed bug in tree when shows modules with tag configuration. Ticket#3307

This commit is contained in:
Arturo Gonzalez 2016-01-29 14:46:50 +01:00
parent e381542ed5
commit 56c75d600e
1 changed files with 4 additions and 2 deletions

View File

@ -489,8 +489,10 @@ var TreeController = {
// Load the status counters // Load the status counters
var hasCounters = _processNodeCounters($content, element.counters, element.type); var hasCounters = _processNodeCounters($content, element.counters, element.type);
//Don't show empty groups //Don't show empty groups
if (!hasCounters) { if (element.type == 'agent') {
return; if (!hasCounters) {
return;
}
} }
// If exist the detail container, show the data // If exist the detail container, show the data
if (typeof controller.detailRecipient !== 'undefined') { if (typeof controller.detailRecipient !== 'undefined') {