From 8eb8be212278598ec6cc92aa02c8277ba5fd435c Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Thu, 24 Apr 2025 00:13:26 +0200 Subject: [PATCH] luci-mod-network: widgets shall show devices that are online as online follow-up to 832680bb84d18132d04f424b7d70ce18d62e1150 Signed-off-by: Paul Donald (cherry picked from commit f17ae7fd96f285aa564579f597f51e2679b27fd4) --- modules/luci-base/htdocs/luci-static/resources/tools/widgets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js index 4fc7d923b9..4bd39cd409 100644 --- a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js +++ b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js @@ -345,7 +345,7 @@ var CBINetworkSelect = form.ListValue.extend({ for (var j = 0; j < devices.length && devices[j]; j++) { span.appendChild(E('img', { 'title': devices[j].getI18n(), - 'src': L.resource('icons/%s%s.png'.format(devices[j].getType(), devices[j].isUp() ? '' : '_disabled')) + 'src': L.resource('icons/%s%s.png'.format(devices[j].getType(), network.isUp() ? '' : '_disabled')) })); } -- 2.30.2