From: Jo-Philipp Wich Date: Fri, 30 Aug 2024 09:54:45 +0000 (+0200) Subject: luci-mod-network: routes.js: make interface setting optional X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=648a09907ec2f3e8046be53519184ed7c5e5bd88;p=project%2Fluci.git luci-mod-network: routes.js: make interface setting optional Fixes: #7260 Ref: https://git.openwrt.org/5c2e5d5ea4e0dd9a0ed66154d818b96bf81664f4 Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js index 4004be219a..982e607369 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js @@ -41,7 +41,7 @@ return view.extend({ o = s.taboption('general', widgets.NetworkSelect, 'interface', _('Interface'), _('Specifies the logical interface name of the parent (or master) interface this route belongs to')); o.loopback = true; o.nocreate = true; - o.rmempty = false; + o.rmempty = true; o = s.taboption('general', form.ListValue, 'type', _('Route type'), _('Specifies the route type to be created')); o.modalonly = true;