luci-mod-network: dhcp.js: fix resolvefile option depends

Ref: https://forum.openwrt.org/t/resolvfile-option-not-showing/54229
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 5d15363408)
This commit is contained in:
Jo-Philipp Wich 2020-01-31 11:19:09 +01:00
parent 66213ef617
commit 4f50a4fa83

View file

@ -173,7 +173,8 @@ return L.view.extend({
_('Resolve file'),
_('local <abbr title="Domain Name System">DNS</abbr> file'));
o.depends('noresolv', '');
o.depends('noresolv', '0');
o.placeholder = '/tmp/resolv.conf.auto';
o.optional = true;