### What happened? When importing train packet in local mode, if you double-click on the import button it shows the trains 2 times. In reality, it's imported only one time because if you refresh, everything is fine. https://github.com/user-attachments/assets/f13a5f54-7987-43a7-8b88-286a0fb665ff ### What did you expect to happen? The imported trains must be shown only one time ### How can we reproduce it (as minimally and precisely as possible)? 1. Open Horizon 2. Try to import a train packet **locally** 3. Double-click on the import button ### On which environments the bug occurs? Recette (SNCF) ### On which browser the bug occurs? Firefox ### OSRD version (top right corner `Account` button > `Informations`) 55b4e3b
What happened?
When importing train packet in local mode, if you double-click on the import button it shows the trains 2 times.
In reality, it's imported only one time because if you refresh, everything is fine.
20260903-1333-30.0070071.mp4
What did you expect to happen?
The imported trains must be shown only one time
How can we reproduce it (as minimally and precisely as possible)?
On which environments the bug occurs?
Recette (SNCF)
On which browser the bug occurs?
Firefox
OSRD version (top right corner
Accountbutton >Informations)55b4e3b