From fcf226d521319ec6c81c0521f1db5e052817c595 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 17 Oct 2023 22:11:53 +0200 Subject: [PATCH] Do not show extra N/A when no ABP-style domains are in a list Signed-off-by: DL6ER --- scripts/pi-hole/js/groups-adlists.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/js/groups-adlists.js b/scripts/pi-hole/js/groups-adlists.js index ab1448f2..95322501 100644 --- a/scripts/pi-hole/js/groups-adlists.js +++ b/scripts/pi-hole/js/groups-adlists.js @@ -85,7 +85,7 @@ function format(data) { : "N/A") + (data.abp_entries !== null && parseInt(data.abp_entries, 10) > 0 && numbers === true ? " (out of which " + parseInt(data.abp_entries, 10).toLocaleString() + " are in ABP-style)" - : "N/A") + + : "") + 'Number of non-domains on this list:  " + "" +