Skip to content

Fix TBA week label off-by-one in event picker#112

Open
luanzeba wants to merge 1 commit intomainfrom
fix/tba-week-display-off-by-one
Open

Fix TBA week label off-by-one in event picker#112
luanzeba wants to merge 1 commit intomainfrom
fix/tba-week-display-off-by-one

Conversation

@luanzeba
Copy link
Collaborator

@luanzeba luanzeba commented Mar 10, 2026

Summary

  • Fix TBA event week display off-by-one error from raw week to week + 1 in the event selection dialog
  • Hide the week label when TBA returns null/undefined to avoid errors

TBA returns official event weeks as zero-based values.

Before

image

After

image

@github-actions
Copy link

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://FRC2713.github.io/QRScout/pr-preview/pr-112/

Built to branch gh-pages at 2026-03-10 01:51 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@luanzeba luanzeba requested a review from tytremblay March 10, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants