fix: restore selected value for specific proxy section

This commit is contained in:
divocat
2025-10-18 01:11:17 +03:00
parent 96039f92a9
commit f155d6a118

View File

@@ -214,7 +214,9 @@ function createSettingsContent(section) {
o.rmempty = false;
o.depends('download_lists_via_proxy', '1');
o.cfgvalue = function (section_id) {
return uci.get('podkop', section_id, 'download_lists_via_proxy_section');
};
o.load = function () {
const sections = this.map?.data?.state?.values?.podkop ?? {};