mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Make sure the table is redrawn after the dnssec API call returns
Without this, the icons won't show up on the initial table draw because the asynchronous AJAX call usually only completes after that. Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -34,6 +34,9 @@ let doDNSSEC = false;
|
||||
function getDnssecConfig() {
|
||||
$.getJSON(document.body.dataset.apiurl + "/config/dns/dnssec", data => {
|
||||
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