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

Doesn't remove parameters if empty

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-03-31 19:57:36 +02:00
parent 494173ce5c
commit ab3c5fbdae
3 changed files with 3 additions and 1 deletions

View file

@ -40,11 +40,11 @@ return L.view.extend({
s.tab('advanced', _('Advanced Settings'));
o = s.taboption('general', form.Flag, 'enable', _('Enabled'));
o.rmempty = false;
o = s.taboption('general',form.Value, 'label', _('Label'));
o.rmempty = true;
o = s.taboption('general', form.ListValue, 'mode', _('Mode'));
o.value('to',_('Client'));
o.value('from',_('Server'));