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>
Tue, 28 Jan 2020 17:16:43 +0000 (18:16 +0100)
commit616d44c155ae2b4f19e8b2645744a107e38a56c7
tree5618f874bf9fded3de7dea8584d9617bd367d141
parentb60b4790d1b1b8d52657c0c9ba91da86d0b8a28d
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>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js