Show number of ABP-style entries on adlists if appropriate

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-06-15 10:01:55 +02:00
parent a69726b4da
commit 645984db5c
2 changed files with 10 additions and 3 deletions

View File

@@ -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