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

Fetch national participation data #610

Merged
merged 1 commit into from
Mar 17, 2017
Merged

Conversation

jeremiak
Copy link
Contributor

Now that we fetch the national participation data from the API, we cannot assume it will just be there when we need to draw trend lines. Right now this is causing the explorer interface to crash.

Because shouldFetchUcr() will return true for the nationalKey when it is the place and we don't want to fire off two requests for the same data, fetchNational will be false when the place is national.

Now that we fetch the national participation data from the API, we
cannot assume it will just be there when we need to draw trend lines.

Because shouldFetchUcr will return true for the nationalKey when it is
the place and we don't want to fire off two requests for the same data,
fetchNational will be false when the place is national.
@brendansudol
Copy link
Contributor

good catch, thx for handling

@brendansudol brendansudol merged commit 118841f into master Mar 17, 2017
@brendansudol brendansudol deleted the jk-always-fetch-national branch March 17, 2017 14:47
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.

2 participants