Fixes max entries reached not showing (#6872)

This commit is contained in:
MatteoBiscosi 2022-09-12 10:42:48 +02:00
parent 7f9f0c6751
commit d96c2b23a8
7 changed files with 59 additions and 35 deletions

View file

@ -339,12 +339,10 @@ function graph_utils.drawGraphs(ifid, schema, tags, zoomLevel, baseurl, selected
if(zoomLevel == nil) then zoomLevel = min_zoom end
if graph_utils.drawProGraph then
local enable_new_timeseries = ntop.getPref("ntopng.enable_new_timeseries")
tprint(enable_new_timeseries)
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", {})
return
if render_new_chart and render_new_chart == true then
local template_utils = require "template_utils"
template_utils.render("pages/components/historical_interface.template", {})
return
end
graph_utils.drawProGraph(ifid, schema, tags, zoomLevel, baseurl, options, show_graph)