Skip to content

Commit 2919cf8

Browse files
author
Ash
committed
fix conditional
1 parent 2bcf9af commit 2919cf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/js/components/latest-levels-auto-refresh.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class LatestLevelsAutoRefresh {
152152
nextTargetDate.setSeconds(0)
153153
nextTargetDate.setMilliseconds(0)
154154

155-
if (nowMinute > this.targetMinutes[this.targetMinutes.length - 1]) {
155+
if (nowMinute >= this.targetMinutes[this.targetMinutes.length - 1]) {
156156
nextTargetDate.setHours(nextTargetDate.getHours() + 1)
157157
}
158158

0 commit comments

Comments
 (0)