fix issue with color

This commit is contained in:
Benny 2021-09-05 08:53:18 +02:00
parent e32aa1a7ca
commit c8e42df4e1

View file

@ -184,7 +184,7 @@ function getDiagram(percentage, percentage2) {
}
if (percentage2 > thresholds.green) {
color2 = Color.green()
} else if (percentage > thresholds.amber) {
} else if (percentage2 > thresholds.amber) {
color2 = Color.orange()
} else {
color2 = Color.red()