Merged in feature/IO-2733-pwa-timer (pull request #1719)

IO-2733 Resolve notification showing incorrect time.
This commit is contained in:
Patrick Fic
2024-09-13 17:51:33 +00:00
2 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ export function UpdateAlert({ updateAvailable }) {
}, [start, needRefresh, offlineReady]);
useEffect(() => {
if (needRefresh && timeLeft < 60000) {
if (needRefresh && timerStarted && timeLeft < 60000) {
notification.open({
type: "warning",
closable: false,