diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-06-09 10:22:38 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-06-09 10:22:38 +0200 |
commit | 608f89429b4b8537ddaefd070c777a6d4fb1c7a1 (patch) | |
tree | 876f4037d0b63ffb39c48bacdf13c5b455bda394 /modules | |
parent | b35316298bdd5d46c606ff66aacc2e62f4bb831d (diff) |
luci-mod-network: interfaces: show bridge port device icons again
Restore the display of bridge port device icons in the interface overviews.
This feature has been lost after migrating the network config from legacy
bridge declarations to device bridge declarations.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index 9b2c9bfd5d..98b51c8a8b 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -128,7 +128,7 @@ function render_modal_status(node, ifc) { function render_ifacebox_status(node, ifc) { var dev = ifc.getL3Device() || ifc.getDevice(), - subdevs = ifc.getDevices(), + subdevs = dev ? dev.getPorts() : null, c = [ render_iface(dev, ifc.isAlias()) ]; if (subdevs && subdevs.length) { |