Skip to content

Commit 9d65f92

Browse files
committed
fix 12mth rolling sum for month bug
1 parent a22cea0 commit 9d65f92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/Charts/PowerEnergyChart.vue

+2
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,8 @@ export default {
11931193
compareIndex = 4
11941194
} else if (this.interval === 'Half Year') {
11951195
compareIndex = 2
1196+
} else {
1197+
compareIndex = 12
11961198
}
11971199
}
11981200

0 commit comments

Comments
 (0)