mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
removed redundant host pool defaul inside dropdown
This commit is contained in:
parent
73ac8af04f
commit
86175b2b5b
2 changed files with 4 additions and 10 deletions
|
|
@ -902,14 +902,6 @@ function graph_utils.poolDropdown(ifId, pool_id, exclude)
|
|||
pool_id = tostring(pool_id)
|
||||
|
||||
local output = {}
|
||||
output[#output + 1] = '<option value="' .. host_pools_instance.DEFAULT_POOL_ID .. '"'
|
||||
|
||||
if pool_id == tostring(host_pools_instance.DEFAULT_POOL_ID) then
|
||||
output[#output + 1] = ' selected'
|
||||
end
|
||||
|
||||
output[#output + 1] = '>' .. host_pools_instance.DEFAULT_POOL_NAME .. '</option>'
|
||||
|
||||
exclude = exclude or {}
|
||||
|
||||
for _,pool in ipairs(host_pools_instance:get_all_pools()) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue