diff options
Diffstat (limited to 'frontend/index.html')
| -rw-r--r-- | frontend/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/index.html b/frontend/index.html index fcb0c2f..8dee2d1 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -38,7 +38,8 @@ <script> (async () => { const timers = await fetchTimers(); - if (timers.length > 0) { + alert(timers[1]); + if (Array.isArray(timers[1]) && timers[1].length > 0) { window.location.href = './timer/'; } else { window.location.href = './status/'; |
