Add missing user scripts gui labels

This commit is contained in:
emanuele-f 2020-01-07 19:03:35 +01:00
parent d5638ef278
commit 481a00a2ad
14 changed files with 112 additions and 4 deletions

View file

@ -13,6 +13,11 @@ local script = {
-- See below
hooks = {},
gui = {
i18n_title = "system_stats.redis.redis_monitor",
i18n_description = "system_stats.redis.redis_monitor_description",
},
}
-- ##############################################

View file

@ -2,4 +2,10 @@ return {
label = "Redis",
script = "redis_stats.lua",
sort_order = 1700,
is_shown = function()
local user_scripts = require("user_scripts")
return(user_scripts.isSystemScriptEnabled("redis_monitor"))
end
}