luci-mod-network: handle missing switch port state information
authorJo-Philipp Wich <jo@mein.io>
Tue, 28 Jan 2020 09:08:40 +0000 (10:08 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 29 Jan 2020 08:19:28 +0000 (09:19 +0100)
commit84e23d96b47948e24ce17b79ab46a77cdedf9c2e
treefca164f812e6627fd3476402f65a4f6c44a34ba7
parent42004be7dd33368a9f4695a23f2030669edbb838
luci-mod-network: handle missing switch port state information

Ref: https://github.com/openwrt/luci/issues/3565
Ref: https://forum.openwrt.org/t/cannot-read-property-link/50766
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 616d44c155ae2b4f19e8b2645744a107e38a56c7)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js