luci-app-ruantiblock: fixed info.js.

This commit is contained in:
gSpot
2024-11-09 01:04:14 +03:00
parent 0cc02a7ddd
commit 557a50dd69
2 changed files with 6 additions and 1 deletions
@@ -214,6 +214,11 @@ return view.extend({
rdsTableWrapper.append(this.makeDnsmasqTable(i[1], _('Dnsmasq') + ' ' + i[0]));
};
};
let rdbTableWrapper = document.getElementById('rdbTableWrapper');
if(rdbTableWrapper) {
rdbTableWrapper.innerHTML = '';
rdbTableWrapper.append(this.makeDnsmasqTable(nft_data.dnsmasq_bypass));
};
} else {
if(poll.active()) {
poll.stop();