setting.js: fix bug

This commit is contained in:
asvow
2025-04-27 12:46:36 +08:00
parent ed92314719
commit cf169dedd7

View File

@@ -195,7 +195,7 @@ return view.extend({
o = s.taboption('advance', form.ListValue, 'exitNode', _('Online Exit Nodes'), _('Select an online machine name to use as an exit node.')); o = s.taboption('advance', form.ListValue, 'exitNode', _('Online Exit Nodes'), _('Select an online machine name to use as an exit node.'));
if (onlineExitNodes.length > 0) { if (onlineExitNodes.length > 0) {
o.optional = false; o.optional = true;
onlineExitNodes.forEach(function(node) { onlineExitNodes.forEach(function(node) {
o.value(node, node); o.value(node, node);
}); });