Bug: Teams page empty — API response not unwrapped #143
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/westside-landing#143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Lineage
Standalone — discovered during session investigating teams page blank render.
Repo
forgejo_admin/westside-appWhat Broke
Teams page renders empty — no Kings or Queens rosters display. The
publicFetch('/public/teams')call returns{teams: [...]}(wrapped object) but the page assigns the entire object to theteamsvariable instead of extracting the array. Calling.filter()on an object silently returns nothing.src/routes/(public)/teams/+page.svelteline 16:Repro Steps
/teamson the public site.filter()on object fails silently)Expected Behavior
Teams page displays Kings and Queens rosters with player details, filtered by the Kings/Queens toggle.
Environment
Acceptance Criteria
Related
project-westside-basketball— project this affectsforgejo_admin/basketball-api— companion fix needed for missing fields (separate issue)