Added assets log preference

This commit is contained in:
Matteo Biscosi 2025-12-23 10:10:55 +01:00
parent 8b49b14742
commit 03097a18c2
2 changed files with 18 additions and 0 deletions

View file

@ -1977,6 +1977,9 @@ if auth.has_capability(auth.capabilities.preferences) then
})
if ntop.isEnterpriseM() then
if _POST["toggle_asset_log"] then
ntop.enableAssetsLog(tonumber(_POST["toggle_asset_log"]))
end
prefsToggleButton(subpage_active, {
field = "toggle_assets_log",
default = "0",