Skip to content

Commit

Permalink
feat(client): allow use default outbound for rule-set download
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Nov 21, 2024
1 parent 7d248b8 commit 3f022de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions htdocs/luci-static/resources/view/homeproxy/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,7 @@ return view.extend({
delete this.keylist;
delete this.vallist;

this.value('', _('Default'));
this.value('direct-out', _('Direct'));
uci.sections(data[0], 'routing_node', (res) => {
if (res.enabled === '1')
Expand All @@ -1100,8 +1101,6 @@ return view.extend({

return this.super('load', section_id);
}
so.default = 'direct-out';
so.rmempty = false;
so.depends('type', 'remote');

so = ss.option(form.Value, 'update_interval', _('Update interval'),
Expand Down

0 comments on commit 3f022de

Please sign in to comment.