mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
luci-app-usteer: fix menu showing on login screen
Currently menu entry is always shown even at the login screen. Fix this by setting acl dependency. Also fix the indent. Signed-off-by: Zhi-Jun You <hujy652@protonmail.com>
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
{
|
||||
"admin/network/usteer": {
|
||||
"title": "Usteer",
|
||||
"order": 80,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "usteer/usteer"
|
||||
}
|
||||
}
|
||||
"admin/network/usteer": {
|
||||
"title": "Usteer",
|
||||
"order": 80,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "usteer/usteer"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-usteer" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user