dawsontoth / zwifit

This NodeJS app joins Zwift with treadmills running iFit® over Wi-Fi.
MIT License
81 stars 42 forks source link

Route editing bugs #29

Closed FuturityUK closed 3 years ago

FuturityUK commented 3 years ago

Bug When I create a Route (route 1), and save it, it appears in the Routes list. When I click the Edit button next to (route 1), the Route appears but with no name or configuration is shown. When I create a 2nd Route (route 2), save it, it appears in the Routes list. When I click the edit button for (route 2), it shows the name and configuration for (route 1).

However, When I create (route 3) and (route 4) these new route configurations are stored as expected.

To Reproduce Follow the steps above

Expected behaviour When the first (route 1) is created and then edited, the Route's name and configuration should be displayed and contain the details for (route 1). When the 2nd (route 2) is created and then edited, it should show its own name and configuration.

Screenshots Can be provided if requested.

Hardware

Additional context I'm running Swifit on a Proform Pro 1000 successfully.