diff --git a/luci-app-ruantiblock/Makefile b/luci-app-ruantiblock/Makefile index c23b385..cc872e4 100644 --- a/luci-app-ruantiblock/Makefile +++ b/luci-app-ruantiblock/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk -PKG_VERSION:=1.1-0 +PKG_VERSION:=1.1-1 LUCI_TITLE:=LuCI support for ruantiblock LUCI_DEPENDS:=+ruantiblock LUCI_PKGARCH:=all diff --git a/luci-app-ruantiblock/htdocs/luci-static/resources/view/ruantiblock/info.js b/luci-app-ruantiblock/htdocs/luci-static/resources/view/ruantiblock/info.js index 58f06e9..41466c0 100644 --- a/luci-app-ruantiblock/htdocs/luci-static/resources/view/ruantiblock/info.js +++ b/luci-app-ruantiblock/htdocs/luci-static/resources/view/ruantiblock/info.js @@ -176,11 +176,9 @@ return view.extend({ }; }; - if(nft_data.dnsmasq.length > 0) { - let rdTableWrapper = document.getElementById('rdTableWrapper'); - rdTableWrapper.innerHTML = ''; - rdTableWrapper.append(this.makeDnsmasqTable(nft_data.dnsmasq)); - }; + let rdTableWrapper = document.getElementById('rdTableWrapper'); + rdTableWrapper.innerHTML = ''; + rdTableWrapper.append(this.makeDnsmasqTable(nft_data.dnsmasq)); } else { if(poll.active()) {