diff --git a/scripts/pi-hole/js/index.js b/scripts/pi-hole/js/index.js index 7c9e3721..07c7aeb6 100644 --- a/scripts/pi-hole/js/index.js +++ b/scripts/pi-hole/js/index.js @@ -539,7 +539,10 @@ function updateForwardDestinationsPie() { }); // Show "Other" destination as the last graphic item and only if it's different than zero - var other = values.splice(values.findIndex(arr => arr.includes("other")), 1)[0]; + var other = values.splice( + values.findIndex(arr => arr.includes("other")), + 1 + )[0]; if (other[1] != 0) { values.push(other); }