mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +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
|
// 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') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user