mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fix bugs in new timeseries page
This commit is contained in:
parent
dcfbf2aa95
commit
906cc74239
7 changed files with 103 additions and 26 deletions
|
|
@ -340,10 +340,12 @@ function graph_utils.drawGraphs(ifid, schema, tags, zoomLevel, baseurl, selected
|
|||
|
||||
if graph_utils.drawProGraph then
|
||||
local enable_new_timeseries = ntop.getPref("ntopng.enable_new_timeseries")
|
||||
enable_new_timeseries = "1"
|
||||
enable_new_timeseries = "1"
|
||||
local recording_utils = require "recording_utils"
|
||||
local traffic_extraction_permitted = recording_utils.isActive(ifid) or recording_utils.isExtractionActive(ifid)
|
||||
if render_new_chart and render_new_chart == true and enable_new_timeseries == "1" then
|
||||
local template_utils = require "template_utils"
|
||||
template_utils.render("pages/components/historical_interface.template", {})
|
||||
template_utils.render("pages/components/historical_interface.template", { traffic_extraction_permitted = traffic_extraction_permitted })
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue