From 56c75d600e535b04acdfdc33429ce9e9e606b8d8 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Fri, 29 Jan 2016 14:46:50 +0100 Subject: [PATCH] Fixed bug in tree when shows modules with tag configuration. Ticket#3307 --- pandora_console/include/javascript/tree/TreeController.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/javascript/tree/TreeController.js b/pandora_console/include/javascript/tree/TreeController.js index ca99592baf..ef4b10bd1f 100644 --- a/pandora_console/include/javascript/tree/TreeController.js +++ b/pandora_console/include/javascript/tree/TreeController.js @@ -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') {