mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix default graph to all
This commit is contained in:
parent
06d235709f
commit
3dd3f8ccb7
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@
|
||||||
|
|
||||||
local curdev = luci.dispatcher.context.requestpath
|
local curdev = luci.dispatcher.context.requestpath
|
||||||
curdev = curdev[#curdev] ~= "multipath" and curdev[#curdev] or devices[1]
|
curdev = curdev[#curdev] ~= "multipath" and curdev[#curdev] or devices[1]
|
||||||
|
if curdev == "" then
|
||||||
|
curdev = "all"
|
||||||
|
end
|
||||||
-%>
|
-%>
|
||||||
|
|
||||||
<%+header%>
|
<%+header%>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue