mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user