mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Possible fix for issue (#7097)
This commit is contained in:
parent
bed94107d1
commit
5724a4c94c
1 changed files with 4 additions and 2 deletions
|
|
@ -170,8 +170,10 @@ function printHostPoolDropdown(base_url, page_params, host_pool_list)
|
|||
|
||||
if host_pool then
|
||||
local id = tonumber(host_pool)
|
||||
ordered_host_pool_list[id] = {}
|
||||
ordered_host_pool_list[id]["count"] = host_pool_list[id]["count"]
|
||||
if host_pool_list[id] then
|
||||
ordered_host_pool_list[id] = {}
|
||||
ordered_host_pool_list[id]["count"] = host_pool_list[id]["count"]
|
||||
end
|
||||
else
|
||||
for key, value in pairs(host_pool_list) do
|
||||
ordered_host_pool_list[key] = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue