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

Greenland: empty plot with wrong country name #38

Open
doug-leasure opened this issue Oct 25, 2022 · 0 comments
Open

Greenland: empty plot with wrong country name #38

doug-leasure opened this issue Oct 25, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@doug-leasure
Copy link
Member

When you click on Greenland it opens a plot that is labeled with the name of the last country for which data was displayed.

I think it the iso2code variable in the front-end remains unchanged when a country is selected that does not have data.

See: https://github.com/OxfordDemSci/dgg-www/blob/dev/www/public_html/js/main.js#L198-204

@doug-leasure doug-leasure added the bug Something isn't working label Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants