From d0807ec46d46f5620f17519fc8f27135bfe8db93 Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Thu, 31 Aug 2023 12:01:11 +0300 Subject: [PATCH] luci-app-travelmate: Remove unused unspecified option Signed-off-by: Sergey Ponomarev --- .../htdocs/luci-static/resources/view/travelmate/overview.js | 1 - .../htdocs/luci-static/resources/view/travelmate/stations.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js b/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js index a8069135a0..7de69e07a4 100644 --- a/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js +++ b/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js @@ -321,7 +321,6 @@ return view.extend({ o = s.taboption('general', widgets.NetworkSelect, 'trm_vpnifacelist', _('Limit VPN processing'), _('Limit VPN processing to certain interfaces.')); o.depends('trm_vpn', '1'); - o.unspecified = true; o.multiple = true; o.nocreate = true; o.rmempty = true; diff --git a/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js b/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js index fcd98fa37f..00ff71c8de 100644 --- a/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js +++ b/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js @@ -557,7 +557,6 @@ return view.extend({ o.ucisection = 'uplink'; o.ucioption = 'macaddr'; o.nocreate = false; - o.unspecified = true; o.rmempty = true; o.datatype = 'macaddr'; o.cfgvalue = function (section_id) { @@ -699,7 +698,6 @@ return view.extend({ } o = s.taboption('vpn', widgets.NetworkSelect, '_vpniface', _('VPN Interface'), _('The logical vpn network interface like \'wg0\'.')); - o.unspecified = false; o.nocreate = true; o.optional = true; o.modalonly = true;