Uncaught TypeError when populating exercise filter with no exercises
Visiting /workouts.html
and /highscores.html
when there is no exercises registered, results in
Uncaught (in promise) TypeError: Cannot read property 'name' of undefined
at populateExerciseTypesDropdown (workouts.js:85)
and
Uncaught (in promise) TypeError: Cannot read property 'name' of undefined
at populateExerciseTypesDropdown (highscores.js:64)