mirror of
https://github.com/pi-hole/web.git
synced 2026-04-19 08:19:59 +01:00
Color the "empty" cache space in a faint gray color
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -50,7 +50,7 @@ function updateCachePie(data) {
|
||||
querytypeids = [];
|
||||
Object.keys(data).forEach(function (item) {
|
||||
v.push((100 * data[item]) / sum);
|
||||
c.push(THEME_COLORS[i % THEME_COLORS.length]);
|
||||
c.push(item !== "empty" ? THEME_COLORS[i % THEME_COLORS.length] : "#80808040");
|
||||
k.push(item);
|
||||
querytypeids.push(i + 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user