simrail / EDR

EDR timetable & driver view for Simrail
https://edr.simrail.app
GNU General Public License v3.0
25 stars 12 forks source link

Traxx/E186 passenger trains not shown in train selection screen #97

Closed FrozenTux closed 1 year ago

FrozenTux commented 1 year ago

Hello,

Passenger trains pulled by Traxx locomotives are not shown in the selection screen of the driver mode. These locos operate on the 13xxx and 14xxx lines alternating with the EP08, on top of their freight services (which are displayed).

This is just a display bug as entering the train number manually in the URL works.

This is caused by the filter conditions used to separate the trains by category here (https://github.com/simrail/EDR/blob/a41af9361b96adb2ca600facab501429d3c77f23/frontend/src/SelectMenu/TrainSelect.tsx#L90) not including the traxx name.

Tallyrald commented 1 year ago

Thanks! I'll return to the project sometime after the next update for the game. I'll take a look at this issue and PR (thanks!) at that time. :)