Fix nindex data visualization in Pro version

This commit is contained in:
Alfredo Cardigliano 2020-12-17 11:19:02 +01:00
parent 8565b33915
commit e581f2caf5

View file

@ -645,13 +645,13 @@ function hasAlertsDisabled()
end
function hasNindexSupport()
if not ntop.isEnterpriseM() or ntop.isWindows() then
if not ntop.isPro() or ntop.isWindows() then
return false
end
-- TODO optimize
if prefs == nil then
prefs = ntop.getPrefs()
prefs = ntop.getPrefs()
end
if prefs.is_nindex_enabled then