-
Notifications
You must be signed in to change notification settings - Fork 59
Update itinerary packages #599
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
Conversation
miles-grant-ibigroup
left a comment
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.
Other than a potential bug regression this looks good and seems to work! Thanks for getting things set up
lib/actions/form.js
Outdated
| return function (dispatch, getState) { | ||
| const state = getState() | ||
| if (state.otp.ui.mainPanelContent !== null) return state | ||
| if (state.otp.ui.mainPanelContent) return state |
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.
I'm not sure about this -- I think I remember there being a bug where this is sometimes explicitly set to undefined which causes strange behavior
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.
Ok, I brought the !== null back in 145f814, the better way to handle it is to initialize state.otp.ui.mainPanelContent to null.
This PR updates itinerary packages to use internationalization features.
Also fixes #597.
Note that
timeOptionsprops have been dropped, and I think, wheretimeOptions.offsetwas used, the applicable DST offset is already applied by the<FormattedTime>component.