-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
front: move useSimulationResults in SimulationResults #9885
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #9885 +/- ##
==========================================
- Coverage 79.85% 79.84% -0.01%
==========================================
Files 1048 1048
Lines 105046 105039 -7
Branches 756 756
==========================================
- Hits 83883 83872 -11
- Misses 21122 21126 +4
Partials 41 41
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
f2bb5ca
to
176ef03
Compare
176ef03
to
ef76be5
Compare
ef76be5
to
f5fb0da
Compare
Moving this hook in SimulationResults avoids unnecessary renders and bring the code closer to where it is used. Signed-off-by: Clara Ni <clara.ni@outlook.fr>
- Removed the first condition trainSimulation.status === 'success' to allow the user to see the SpaceTimeChart even if the current selected train is invalid. - Removed not needed condition on pathproperties to display the spacetimechart Signed-off-by: Clara Ni <clara.ni@outlook.fr>
f5fb0da
to
d6b49dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm and tested !
closes #9884