mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fix missing flow status menu entries
This commit is contained in:
parent
60566f4b53
commit
1c629b331a
1 changed files with 3 additions and 2 deletions
|
|
@ -1497,9 +1497,10 @@ function printActiveFlowsDropdown(base_url, page_params, ifstats, flowstats, is_
|
|||
|
||||
local status_stats = flowstats["status"]
|
||||
local first = true
|
||||
for _, s in ipairs(flow_consts.flow_status_types) do
|
||||
for _, s in pairs(flow_consts.flow_status_types) do
|
||||
local t = s.status_id
|
||||
if t then
|
||||
|
||||
if(t > 0) then
|
||||
if status_stats[t] and status_stats[t].count > 0 then
|
||||
if first then
|
||||
entries[#entries + 1] = '<li role="separator" class="divider"></li>'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue