luci-app-k3screenctrl: fix bugs

This commit is contained in:
CN_SZTL 2020-03-13 20:40:46 +08:00
parent 583b12da4c
commit cde36d8d0b
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
3 changed files with 3 additions and 1 deletions

View File

@ -6,5 +6,7 @@ function index()
if not nixio.fs.access("/etc/config/k3screenctrl") then
return
end
entry({"admin","system","k3screenctrl"}, cbi("k3screenctrl"), _("Screen"),60)
local page
page = entry({"admin","system","k3screenctrl"}, cbi("k3screenctrl"), _("Screen"), 60)
page.dependent = true
end