-
Notifications
You must be signed in to change notification settings - Fork 46
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: update selected projection after train deletion #5438
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #5438 +/- ##
============================================
- Coverage 19.58% 19.57% -0.02%
Complexity 2322 2322
============================================
Files 886 886
Lines 105754 105819 +65
Branches 2572 2572
============================================
+ Hits 20714 20715 +1
- Misses 83531 83595 +64
Partials 1509 1509
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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
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.
Thank you for this PR ! Left two comments.
Tested and it works if the remaining train has a different path, it gets the projection.
But if we have 3 trains, 2 with same path and one different, if we delete one of the "common path" train, the projection isn't set on any train in the list.
front/src/applications/operationalStudies/components/Scenario/getSimulationResults.ts
Outdated
Show resolved
Hide resolved
d2cd3e3
to
66e799b
Compare
66e799b
to
c2a55a0
Compare
c2a55a0
to
5619e6f
Compare
5619e6f
to
af7c368
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, tested in local, very nice job :)
529467b
to
c170adb
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.
👍
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.
Tested in local, LGTM
closes #5403