mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 21:23:56 +08:00
Update store.lua
This commit is contained in:
1 parent
f8b7f0de22
commit
48adc2c80e
1 file changed
+2
-1
@@ -14,7 +14,8 @@ function index()
|
|||||||
|
|
||||||
local action
|
local action
|
||||||
|
|
||||||
entry({"admin", "store"}, call("redirect_index"), _("iStore"), 31)
|
entry({"admin", "store"}, call("redirect_index"))
|
||||||
|
entry({"admin", "services", "store"}, call("redirect_index"), _("iStore"), 31).dependent = true
|
||||||
entry({"admin", "store", "pages"}, call("store_index")).leaf = true
|
entry({"admin", "store", "pages"}, call("store_index")).leaf = true
|
||||||
if nixio.fs.access("/usr/lib/lua/luci/view/store/main_dev.htm") then
|
if nixio.fs.access("/usr/lib/lua/luci/view/store/main_dev.htm") then
|
||||||
entry({"admin", "store", "dev"}, call("store_dev")).leaf = true
|
entry({"admin", "store", "dev"}, call("store_dev")).leaf = true
|
||||||
|
|||||||
Reference in new issue
Block a user