1
0
Fork 0
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:
Ycarus 2018-03-28 15:08:48 +02:00
parent 06d235709f
commit 3dd3f8ccb7

View file

@ -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%>