mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Indentation fix
This commit is contained in:
parent
eebeb2a084
commit
810e9fe535
1 changed files with 5 additions and 5 deletions
|
|
@ -442,11 +442,11 @@ function graph_utils.drawGraphs(ifid, schema, tags, zoomLevel, baseurl, selected
|
|||
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", { traffic_extraction_permitted = traffic_extraction_permitted })
|
||||
return
|
||||
end
|
||||
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", { traffic_extraction_permitted = traffic_extraction_permitted })
|
||||
return
|
||||
end
|
||||
|
||||
graph_utils.drawProGraph(ifid, schema, tags, zoomLevel, baseurl, options, show_graph)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue