chore: Remove TODO comments from user domains and subnets text input fields

This commit is contained in:
Andrey Petelin
2025-09-11 15:32:39 +05:00
parent b6a6db71a8
commit 074c1a9349

View File

@@ -323,7 +323,6 @@ function createConfigSection(section, map, network) {
return true;
};
// TODO: Is it possible to save not as an option (but as a split list)?
o = s.taboption('basic', form.TextValue, 'user_domains_text', _('User Domains List'), _('Enter domain names separated by comma, space or newline. You can add comments after //'));
o.placeholder = 'example.com, sub.example.com\n// Social networks\ndomain.com test.com // personal domains';
o.depends('user_domain_list_type', 'text');
@@ -451,7 +450,6 @@ function createConfigSection(section, map, network) {
return true;
};
// TODO: Is it possible to save not as an option (but as a split list)?
o = s.taboption('basic', form.TextValue, 'user_subnets_text', _('User Subnets List'), _('Enter subnets in CIDR notation or single IP addresses, separated by comma, space or newline. You can add comments after //'));
o.placeholder = '103.21.244.0/22\n// Google DNS\n8.8.8.8\n1.1.1.1/32, 9.9.9.9 // Cloudflare and Quad9';
o.depends('user_subnet_list_type', 'text');