Fix the selection of the 'All Hosts' entry in the 'Hosts' filter on the live flows page.

This commit is contained in:
Nicolo Maio 2024-01-02 10:12:01 +01:00
parent c4686ad688
commit 885a1ea1a5

View file

@ -1992,7 +1992,8 @@ function printActiveFlowsDropdown(base_url, page_params, ifstats, flowstats, is_
-- Local / Remote hosts selector
-- table.clone needed to modify some parameters while keeping the original unchanged
local flowhosts_type_params = table.clone(page_params)
flowhosts_type_params["flowhosts_type"] = nil
print [['\
<div class="btn-group">\
<button class="btn btn-link dropdown-toggle" data-bs-toggle="dropdown">]]