When closures occur the destination stations can change. They are currently hardcoded and updating them requires manually changing these and deploying. Instead just get the unique list of destination stations from the trains array. Ensure that when there are no trains (like when it's late at night) this doesn't crash/deselect any destination stations.
When closures occur the destination stations can change. They are currently hardcoded and updating them requires manually changing these and deploying. Instead just get the unique list of destination stations from the trains array. Ensure that when there are no trains (like when it's late at night) this doesn't crash/deselect any destination stations.