From 5e3000c141365eb9b5a7743fb6f635288facea7a Mon Sep 17 00:00:00 2001 From: RD WebDesign Date: Wed, 29 Oct 2025 17:58:34 -0300 Subject: [PATCH] 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 --- scripts/js/queries.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/js/queries.js b/scripts/js/queries.js index 41091a27..3ef5f5a3 100644 --- a/scripts/js/queries.js +++ b/scripts/js/queries.js @@ -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(); }); }