diff options
author | Stan Grishin <stangri@melmac.ca> | 2023-12-09 14:50:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-09 14:50:41 -0700 |
commit | c5b5640f17dad81d2f10a76dcdb9da694baa8991 (patch) | |
tree | 7174ae923ebf282e00dbc0e820f5815bd93d2c13 /applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast | |
parent | 34ef5701483e54fa3ab2a35d914f7ddb8ab7fcc6 (diff) | |
parent | 0473939fff65384badf6d15f30a0e236f2110b3c (diff) |
Merge pull request #6756 from stangri/master-luci-app-adblock-fast
luci-app-adblock-fast: bugfix: L.uci.load
Diffstat (limited to 'applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast')
-rw-r--r-- | applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js b/applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js index f34855a6f8..086200aa89 100644 --- a/applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js +++ b/applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js @@ -25,9 +25,9 @@ return view.extend({ return Promise.all([ L.resolveDefault(adb.getFileUrlFilesizes(pkg.Name), {}), L.resolveDefault(adb.getPlatformSupport(pkg.Name), {}), - L.uci.load(pkg.Name), - L.uci.load("dhcp"), - L.uci.load("smartdns"), + L.resolveDefault(L.uci.load(pkg.Name), {}), + L.resolveDefault(L.uci.load("dhcp"), {}), + L.resolveDefault(L.uci.load("smartdns"), {}), ]); }, @@ -241,6 +241,8 @@ return view.extend({ o.value("-", _("No AdBlock on SmartDNS")); o.default = "*"; o.depends("dns", "smartdns.domainset"); + o.depends("dns", "smartdns.ipset"); + o.depends("dns", "smartdns.nftset"); o.retain = true; o = s1.taboption( |