mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Fixed bug in tree when shows modules with tag configuration. Ticket#3307
This commit is contained in:
parent
e381542ed5
commit
56c75d600e
@ -489,8 +489,10 @@ var TreeController = {
|
||||
// Load the status counters
|
||||
var hasCounters = _processNodeCounters($content, element.counters, element.type);
|
||||
//Don't show empty groups
|
||||
if (!hasCounters) {
|
||||
return;
|
||||
if (element.type == 'agent') {
|
||||
if (!hasCounters) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
// If exist the detail container, show the data
|
||||
if (typeof controller.detailRecipient !== 'undefined') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user