From 02f2d471026cc0a77fecf54c278065ec334bd73b Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Thu, 10 Oct 2024 19:04:22 +0200 Subject: [PATCH] luci-app-adblock: sync with adblock-4.2.2-6 * adjust changed sources field in the online status Signed-off-by: Dirk Brenken --- .../htdocs/luci-static/resources/view/adblock/overview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js index 042e7dcb11..99773097ba 100644 --- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js +++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js @@ -180,9 +180,9 @@ return view.extend({ if (sources && info) { for (var i = 0; i < info.active_sources.length; i++) { if (i < info.active_sources.length-1) { - src_array += info.active_sources[i].source + ', '; + src_array += info.active_sources[i] + ', '; } else { - src_array += info.active_sources[i].source + src_array += info.active_sources[i] } } sources.textContent = src_array || '-'; -- 2.30.2