From eb0617eef1e56c42de216b42c400282efd0037af Mon Sep 17 00:00:00 2001 From: divocat Date: Fri, 3 Oct 2025 03:34:04 +0300 Subject: [PATCH] fix: corrent naming for User Domains List validation --- .../luci-static/resources/view/podkop/configSection.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js index 4c8a2ae..e3af1b9 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/configSection.js @@ -331,15 +331,15 @@ function createConfigSection(section, map, network) { return true } - const subnets = main.parseValueList(value); + const domains = main.parseValueList(value); - if (!subnets.length) { + if (!domains.length) { return _( 'At least one valid domain must be specified. Comments-only content is not allowed.' ); } - const { valid, results } = main.bulkValidate(subnets, main.validateDomain); + const { valid, results } = main.bulkValidate(domains, main.validateDomain); if (!valid) { const errors = results