Skip to content

Commit

Permalink
Fixes timeseries chart enabled for host's flows (#8342)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoBiscosi committed May 2, 2024
1 parent dd3c1dc commit 5e31436
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/lua/host_details.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2276,7 +2276,10 @@ setInterval(update_icmp_table, 5000);
local json = require "dkjson"
local json_context = json.encode({
ifid = ifstats.id,
has_exporters = has_exporters
has_exporters = has_exporters,
is_viewed = interface.isViewed(),
is_clickhouse_enabled = hasClickHouseSupport(),
is_pcap = interface.isPcapDumpInterface()
})
template.render("pages/vue_page.template", { vue_page_name = "PageFlowsList", page_context = json_context })
end
Expand Down

0 comments on commit 5e31436

Please sign in to comment.