mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Add missing user scripts gui labels
This commit is contained in:
parent
d5638ef278
commit
481a00a2ad
14 changed files with 112 additions and 4 deletions
|
|
@ -4,7 +4,9 @@ return {
|
|||
sort_order = 1600,
|
||||
is_shown = function()
|
||||
local ts_utils = require("ts_utils_core")
|
||||
local user_scripts = require("user_scripts")
|
||||
|
||||
return(ts_utils.getDriverName() == "influxdb")
|
||||
return((ts_utils.getDriverName() == "influxdb") and
|
||||
user_scripts.isSystemScriptEnabled("influxdb_monitor"))
|
||||
end
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue