From 02dde501858d296494677850ef9d0469e049f079 Mon Sep 17 00:00:00 2001 From: Khachatryan Karen Date: Fri, 4 Apr 2025 18:10:10 +0300 Subject: [PATCH] luci-app-antiblock: Gateway selection bug fixed 1) Changed from "widgets.NetworkSelect" to "widgets.DeviceSelect" Signed-off-by: Khachatryan Karen (cherry picked from commit e6556e97fb7aa3dded50269a1f11e165cedf302b) --- .../htdocs/luci-static/resources/view/antiblock/routes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/luci-app-antiblock/htdocs/luci-static/resources/view/antiblock/routes.js b/applications/luci-app-antiblock/htdocs/luci-static/resources/view/antiblock/routes.js index 4c10cf08d7..65ceea5c3c 100644 --- a/applications/luci-app-antiblock/htdocs/luci-static/resources/view/antiblock/routes.js +++ b/applications/luci-app-antiblock/htdocs/luci-static/resources/view/antiblock/routes.js @@ -13,9 +13,10 @@ return view.extend({ s.addremove = true; s.nodescriptions = true; - let o = s.option(widgets.NetworkSelect, 'gateway', _('Gateway'), _('Gateway')); + let o = s.option(widgets.DeviceSelect, 'gateway', _('Gateway'), _('Gateway')); o.loopback = true; o.nocreate = true; + o.noaliases = true; o = s.option(form.Value, 'domains_path', _('Domains path'), _('Domains path/URL. If you want to add domains via LuCI, specify the files in the /etc/antiblock folder.')); o.default = '/etc/antiblock/'; -- 2.30.2