Skip to content
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

Fix bugs in redux state of pathname #852

Merged
merged 1 commit into from
Jan 27, 2020
Merged

Conversation

jameshadfield
Copy link
Member

We were getting bugs due to the redux state of general.pathname set to undefined when it shouldn't be as a result of PAGE_CHANGE actions with no action.path data. This resulted in incorrect API requests and the display of results which didn't match the URL.

This should close #851 but needs more testing via nextstrain.org

We were getting bugs due to the redux state of `general.pathname` set to `undefined` when it shouldn't be as a result of `PAGE_CHANGE` actions with no `action.path` data. This resulted in incorrect API requests and the display of results which didn't match the URL.
@jameshadfield
Copy link
Member Author

Tested locally (auspice) & on nextstrain (using review app)

@jameshadfield jameshadfield merged commit e9ff4cb into master Jan 27, 2020
@jameshadfield jameshadfield deleted the community-back-button-fix branch January 27, 2020 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

back button broken for community dataset pages in certain situations
1 participant