diff --git a/scripts/pi-hole/js/index.js b/scripts/pi-hole/js/index.js index d7cce8e2..9849d7aa 100644 --- a/scripts/pi-hole/js/index.js +++ b/scripts/pi-hole/js/index.js @@ -538,6 +538,9 @@ function updateForwardDestinationsPie() { values.push([key, value, THEME_COLORS[i++ % THEME_COLORS.length]]); }); + // Move the "other" element to the end of the array + values.push(values.splice(values.indexOf("other"), 1)[0]); + // Split data into individual arrays for the graphs values.forEach(function (value) { k.push(value[0]);