Fixes Observation point timeseries

This commit is contained in:
MatteoBiscosi 2021-11-25 14:28:24 +01:00
parent db933904e7
commit a007ef84ea
7 changed files with 35 additions and 12 deletions

View file

@ -1241,6 +1241,13 @@ function printStatsTimeseries()
print('<thead class="table-primary"><tr><th colspan=2 class="info">'..i18n('prefs.other_timeseries')..'</th></tr></thead>')
if ntop.isPro() then
prefsToggleButton(subpage_active, {
field = "toggle_observation_points_rrd_creation",
default = "0",
pref = "observation_points_rrd_creation",
disabled = not info["version.enterprise_edition"],
})
prefsToggleButton(subpage_active, {
field = "toggle_flow_rrds",
default = "0",