Fix prettier

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign
2022-04-26 15:20:43 -03:00
parent 0e04ba0fe4
commit a04fb0b726
+4 -1
View File
@@ -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);
}