mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Avoid timeseries read operations to display the chart icon
Now the icon is displayed whenever the timeseries are enabled for the given context
This commit is contained in:
parent
5b70db90ad
commit
d1140ec9fd
42 changed files with 201 additions and 149 deletions
|
|
@ -653,13 +653,7 @@ end
|
|||
-- ##############################################
|
||||
|
||||
function plugins_utils.timeseriesCreationEnabled()
|
||||
local system_probes_timeseries_enabled = true
|
||||
|
||||
if ntop.getPref("ntopng.prefs.system_probes_timeseries") == "0" then
|
||||
system_probes_timeseries_enabled = false
|
||||
end
|
||||
|
||||
return system_probes_timeseries_enabled
|
||||
return areSystemTimeseriesEnabled()
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue