From 3f2320e0aa140d6e59dedeca97a523e0be4a399b Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 1 Sep 2023 09:51:21 +0200 Subject: [PATCH] luci-proto-modemmanager: also allow none for preferredmode config option Signed-off-by: Florian Eckert --- .../htdocs/luci-static/resources/protocol/modemmanager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js b/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js index 224bd6f3bd..e3d98d75ef 100644 --- a/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js +++ b/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js @@ -109,6 +109,7 @@ return network.registerProtocol('modemmanager', { o.value('3g'); o.value('4g'); o.value('5g'); + o.value('none', _('None')); o.depends('allowedmode','3g|2g'); o.depends('allowedmode','4g|2g'); o.depends('allowedmode','4g|3g'); -- 2.30.2