update js to hide module container
Change-Id: Ic02257622df8763462da9683b28d7e31116c8ca3
This commit is contained in:
@@ -118,7 +118,7 @@ function renderTableAndChart(url, container_id, table_id, chart_id, link_param,
|
||||
|
||||
data = data["stats"];
|
||||
|
||||
if (data.length == 0) {
|
||||
if ((data.length == 0) || (data.length == 1 && container_id == 'module_container')) {
|
||||
$("#" + container_id).hide();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user