From ccced4c1a8f0401bee228f80741da0511e2f181b Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 2 Feb 2023 20:57:10 +0100 Subject: [PATCH] Fix "undefined" hit counts on the dashboard Signed-off-by: DL6ER --- scripts/pi-hole/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/js/index.js b/scripts/pi-hole/js/index.js index f4e1d4c2..c6642ce3 100644 --- a/scripts/pi-hole/js/index.js +++ b/scripts/pi-hole/js/index.js @@ -543,7 +543,7 @@ function updateTopDomainsTable(blocked) { domaintable.append( " " + utils.addTD(url) + - utils.addTD(domain.count) + + utils.addTD(item.count) + utils.addTD(utils.colorBar(percentage, sum, style)) + " " );