mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-07-17 05:11:03 +03:00
feat(extra): hide block & exclusion from download_lists_via_proxy_section
This commit is contained in:
@@ -309,11 +309,9 @@ function createSettingsContent(section) {
|
|||||||
this.keylist = [];
|
this.keylist = [];
|
||||||
this.vallist = [];
|
this.vallist = [];
|
||||||
|
|
||||||
console.log('sections', {sections})
|
|
||||||
|
|
||||||
for (const secName in sections) {
|
for (const secName in sections) {
|
||||||
const sec = sections[secName];
|
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.keylist.push(secName);
|
||||||
this.vallist.push(secName);
|
this.vallist.push(secName);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user