mirror of
https://github.com/pi-hole/web.git
synced 2026-02-15 07:25:39 +00:00
Make sure the table is redrawn after the dnssec API call returns (#3645)
This commit is contained in:
@@ -34,6 +34,9 @@ let doDNSSEC = false;
|
|||||||
function getDnssecConfig() {
|
function getDnssecConfig() {
|
||||||
$.getJSON(document.body.dataset.apiurl + "/config/dns/dnssec", data => {
|
$.getJSON(document.body.dataset.apiurl + "/config/dns/dnssec", data => {
|
||||||
doDNSSEC = data.config.dns.dnssec;
|
doDNSSEC = data.config.dns.dnssec;
|
||||||
|
|
||||||
|
// redraw the table to show the icons when the API call returns
|
||||||
|
$("#all-queries").DataTable().draw();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user