From 4146804e5a0d8abd92ed1ec54f4b423eb6bcf1d2 Mon Sep 17 00:00:00 2001 From: divocatt <210179590+divocatt@users.noreply.github.com> Date: Fri, 29 May 2026 17:03:44 +0300 Subject: [PATCH] feat(extra): hide block & exclusion from download_lists_via_proxy_section --- .../htdocs/luci-static/resources/view/podkop/settings.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js index 54200e8..efe3c29 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js @@ -309,11 +309,9 @@ function createSettingsContent(section) { this.keylist = []; this.vallist = []; - console.log('sections', {sections}) - for (const secName in sections) { const sec = sections[secName]; - if (sec[".type"] === "section") { + if (sec[".type"] === "section" && sec['connection_type'] !== 'block' && sec['connection_type'] !== 'exclusion') { this.keylist.push(secName); this.vallist.push(secName); }