luci-app-homeproxy: sync upstream

last commit: 3f022de3b1
This commit is contained in:
gitea-action 2024-11-21 21:00:41 +08:00
parent b7ca0c23d9
commit d85f618cd0

View File

@ -1092,6 +1092,7 @@ return view.extend({
delete this.keylist; delete this.keylist;
delete this.vallist; delete this.vallist;
this.value('', _('Default'));
this.value('direct-out', _('Direct')); this.value('direct-out', _('Direct'));
uci.sections(data[0], 'routing_node', (res) => { uci.sections(data[0], 'routing_node', (res) => {
if (res.enabled === '1') if (res.enabled === '1')
@ -1100,8 +1101,6 @@ return view.extend({
return this.super('load', section_id); return this.super('load', section_id);
} }
so.default = 'direct-out';
so.rmempty = false;
so.depends('type', 'remote'); so.depends('type', 'remote');
so = ss.option(form.Value, 'update_interval', _('Update interval'), so = ss.option(form.Value, 'update_interval', _('Update interval'),