-
Notifications
You must be signed in to change notification settings - Fork 2
fix: data display for volunteers #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -105,13 +105,14 @@ const cooperationStars2021 = [ | |||||
| ] | ||||||
|
|
||||||
| const yearlyStars = [ | ||||||
| { year: '2023', stars: cooperationStars2025 }, | ||||||
|
||||||
| { year: '2023', stars: cooperationStars2025 }, | |
| { year: '2025', stars: cooperationStars2025 }, |
Copilot
AI
Jan 13, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The selectedYear is initialized to '2025', but due to the bug in line 108 where year '2025' data is incorrectly labeled as '2023', this year won't exist in uniqueYears and the selectedStars fallback logic will incorrectly default to cooperationStars2023 instead of showing the 2025 data. This needs to be coordinated with fixing line 108.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All new volunteer entries have double slashes in the avatar path '/img//cblecker.png'. This should be '/img/cblecker.png' with a single slash to match the pattern used in existing volunteer entries.