luci-app-adblock: sync with adblock-4.2.2-6
authorDirk Brenken <[email protected]>
Thu, 10 Oct 2024 17:04:22 +0000 (19:04 +0200)
committerDirk Brenken <[email protected]>
Thu, 10 Oct 2024 17:07:52 +0000 (19:07 +0200)
* adjust changed sources field in the online status

Signed-off-by: Dirk Brenken <[email protected]>
(cherry picked from commit 02f2d471026cc0a77fecf54c278065ec334bd73b)

applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js

index f79a828d8f30971de87348c5d71ffe2e55acbd9f..6bb671729c85d18edac572e792820f534dce516e 100644 (file)
@@ -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 || '-';