Skip to content

Commit

Permalink
Merge pull request #2549 from cshagen/master
Browse files Browse the repository at this point in the history
Colors theme: Fix month graph
  • Loading branch information
LKuemmel committed Dec 14, 2022
2 parents 3f2ed49 + 35cc9f0 commit 07c816f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/themes/colors/powergraph.js
Expand Up @@ -650,7 +650,7 @@ class PowerGraph {
}
calcMonthlyValue(i, array) {
var val = Math.floor(+array[i] * 1000)
if (val < 0 || val > 150000) {
if (val < 0 ) {
val = 0;
}
return val;
Expand Down

0 comments on commit 07c816f

Please sign in to comment.