mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes incorrect custom category name (#6761)
This commit is contained in:
parent
df5fc65d1c
commit
d1ae231c64
1 changed files with 3 additions and 1 deletions
|
|
@ -905,8 +905,10 @@ function graph_utils.printCategoryDropdownButton(by_id, cat_id_or_name, base_url
|
|||
cat_count = cat_count - 1
|
||||
end
|
||||
|
||||
local cat_title = getCategoryLabel(cat_name, cat_id)
|
||||
|
||||
if cat_count > 0 then
|
||||
entries[#entries + 1] = {text=cat_name.." ("..cat_count..")", id=cat_name, cat_id=cat_id}
|
||||
entries[#entries + 1] = {text=cat_title.." ("..cat_count..")", id=cat_name, cat_id=cat_id}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue