osrd
osrd copied to clipboard
Simulation results: duplication of requests
Describe the bug
The front makes the same request twice: /train_schedule/results/?train_ids=1,2&path=1
To Reproduce Steps to reproduce the behavior:
- Go to 'Grille Horaire'
- Create a path
- Create two trains
- Go to simulation and check the network panel
Expected behavior
Only one GET /train_schedule/results/... query should be done.
Desktop:
- Local version using
docker-compose up - Browser: firefox
- Version:
fam/api-standalone(hash:a1550b882c27)
—> check useEffect/getTimeTable