1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Use listvalue for protocol/services in omr-bypass

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-02-17 13:21:36 +01:00
parent 57108e1660
commit 03802f5b47

View file

@ -190,7 +190,7 @@ return L.view.extend({
o = s.option(form.Flag, 'enabled', _('Enabled')); o = s.option(form.Flag, 'enabled', _('Enabled'));
o.default = o.enabled; o.default = o.enabled;
o = s.option(form.Value, 'proto', _('Protocol/Service')); o = s.option(form.ListValue, 'proto', _('Protocol/Service'));
o.rmempty = false; o.rmempty = false;
o.load = function(section_id) { o.load = function(section_id) {
return Promise.all([ return Promise.all([