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>
This commit is contained in:
parent
b35316298b
commit
608f89429b
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue