From 2919cf8eded6683fae7694b553ccf6442b76640c Mon Sep 17 00:00:00 2001 From: Ash Date: Mon, 28 Oct 2024 11:53:36 +0000 Subject: [PATCH] fix conditional --- server/src/js/components/latest-levels-auto-refresh.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/js/components/latest-levels-auto-refresh.js b/server/src/js/components/latest-levels-auto-refresh.js index 1442854ee..dc4f5291f 100644 --- a/server/src/js/components/latest-levels-auto-refresh.js +++ b/server/src/js/components/latest-levels-auto-refresh.js @@ -152,7 +152,7 @@ class LatestLevelsAutoRefresh { nextTargetDate.setSeconds(0) nextTargetDate.setMilliseconds(0) - if (nowMinute > this.targetMinutes[this.targetMinutes.length - 1]) { + if (nowMinute >= this.targetMinutes[this.targetMinutes.length - 1]) { nextTargetDate.setHours(nextTargetDate.getHours() + 1) }