Symptom
Selecting any exercise type (Strength, Cardio, Flexibility, etc.) in the filter dropdown always shows zero exercises, even though the exercise list clearly has items of that type. The "All Types" option works correctly.
Expected
Selecting "Strength" should show only strength exercises, "Cardio" should show only cardio exercises, etc.
What you know
The ExerciseType enum is defined as a numeric enum (Strength = 0, Cardio = 1, etc.). The filter compares exercise types using ===. The exercise data comes from an API that returns type values as strings like "strength".
Hints
TypeScript
TypeScript ready
Test Output
▶
Click "Run Tests" to execute your code