mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
Show number of ABP-style entries on adlists if appropriate
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -162,7 +162,9 @@ function updateMetrics() {
|
||||
// Set metrics
|
||||
setMetrics(metrics, "sysinfo-");
|
||||
|
||||
$("#cache-utilization").text(cacheEntries.toLocaleString() + " (" + ((100 * cacheEntries) / cacheSize).toFixed(1) + "%)");
|
||||
$("#cache-utilization").text(
|
||||
cacheEntries.toLocaleString() + " (" + ((100 * cacheEntries) / cacheSize).toFixed(1) + "%)"
|
||||
);
|
||||
|
||||
$("div[id^='sysinfo-metrics-overlay']").hide();
|
||||
// Update every 10 seconds
|
||||
|
||||
Reference in New Issue
Block a user