diff options
author | Dirk Brenken <dev@brenken.org> | 2018-12-27 07:19:24 +0100 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2018-12-27 07:19:24 +0100 |
commit | a6b19ce5e45dbf070a9092ed5c23a8d0dbd259cc (patch) | |
tree | 6f6cb8b84d1347b089fda2749041a8282197ec22 /applications/luci-app-travelmate/luasrc/model/cbi | |
parent | 5aa2d3a77f2c77af8fbabf0a18c33e1c4b0cd1d9 (diff) |
luci-app-travelmate: adapt latest css changes
Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-travelmate/luasrc/model/cbi')
-rw-r--r-- | applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua index e98cde719c..5792536ba1 100644 --- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua +++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua @@ -76,7 +76,8 @@ if dump then local i, v for i, v in ipairs(dump.interface) do if v.interface ~= "loopback" and v.interface ~= "lan" then - o4:value(v.interface) + local device = v.l3_device or v.device or "-" + o4:value(v.interface, v.interface.. " (" ..device.. ")") end end end |