Fix duplicate exercise code before making public exercises. #144

Open
opened 2026-02-03 09:49:24 +11:00 by Ghost · 0 comments
Ghost commented 2026-02-03 09:49:24 +11:00 (Migrated from codeberg.org)

github.com/davenh99/progressa@d5cae7e66c/ui/src/views/exercises/ExerciseList.tsx (L39C4-L39C44)

atm, would lead to an unexpected (1) if exercise already exists from someone else, make sure to fetch including user = user.id to prevent adding the (1) or (2) unnecessarily.

https://github.com/davenh99/progressa/blob/d5cae7e66c7e2c02a012bcc44b12c859beec191b/ui/src/views/exercises/ExerciseList.tsx#L39C4-L39C44 atm, would lead to an unexpected (1) if exercise already exists from someone else, make sure to fetch including user = user.id to prevent adding the (1) or (2) unnecessarily.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
davenh99/progressa#144
No description provided.