luci-mod-status: gracefully handle missing port stats
authorJo-Philipp Wich <jo@mein.io>
Sat, 29 Jul 2023 20:03:31 +0000 (22:03 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 29 Jul 2023 20:03:31 +0000 (22:03 +0200)
commit00a941e618ecfb80dcccc5fd8e7d5d3eecb674b5
tree31014b27cc92770372207ef0a7c958cd096008bf
parentcb1529587f5b5a23ac2a8115a3b37ed7c3dacb11
luci-mod-status: gracefully handle missing port stats

Ref: https://github.com/openwrt/luci/commit/cba58fcafbe3a3f4f599354f7c123b546e045887#commitcomment-123043170
Fixes: 4e46624817 ("luci-mod-status: introduce ethernet port status view")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/29_ports.js