-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The performance badges on the report cards just say "No description available"
To Reproduce
Steps to reproduce the behavior:
- Open someone's user profile
- Mouse over the "Perfect"/"Great"/"Poor"/etc. badge
Expected behavior
Should say the description, like "Plays, but FPS is in the single digits" for "Poor"
Screenshots / Logs
Environment (please complete the following information):
- OS: Windows
- Browser: Vivaldi (Chromium based)
Checklist
- I have checked that this issue has not already been reported
- I have checked that this issue exists on the production version
- I have provided sufficient information for reproduction
- I am willing to help investigate or fix this issue if needed
Solution, maybe?
src/app/users/[id]/UserProfilePage.tsx on line 408 the PerformanceBadge does not receive the description prop. I would guess that it just needs a description={listing.performance?.description} since every other use of the component does this but inspecting the network tab the listing description is not returned from the API (I don't know Prisma enough to know if this is intended behavior or something else would need to be adjusted).

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working