From a04fb0b7269bea0c05d02c6d5e3a3e20b7017c93 Mon Sep 17 00:00:00 2001 From: RD WebDesign Date: Tue, 26 Apr 2022 15:20:43 -0300 Subject: [PATCH] Fix prettier Signed-off-by: RD WebDesign --- scripts/pi-hole/js/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); }