typhoidgenomics / TyphiNET

TyphiNET online Salmonella Typhi AMR surveillance dashboard.
https://www.typhi.net
GNU General Public License v3.0
7 stars 3 forks source link

Showing data when Countries with "insufficient data" is selected #79

Closed vLSHTM closed 8 months ago

vLSHTM commented 8 months ago

Eg: South Africa with dataset All had 44 genomes => Visible changes on dashboard South Africa with dataset local had 0 genomes => NO Visible changes on dashboard South Africa with dataset travel had 1 genomes => Visible changes on dashboard

In this PR, We set condition if any country is selected from Map, show data on Dashboard, where We need list of all the countries in Select country dropdown which are available on Map, So we have to make static countries provided by react-simple-maps as its not going to change. Now : South Africa with dataset All had 44 genomes => Visible changes on dashboard South Africa with dataset local had 0 genomes => Visible changes on dashboard South Africa with dataset travel had 1 genomes => Visible changes on dashboard

vLSHTM commented 8 months ago

Hi @lcerdeira, I tried to describe it with example the changes in dashboard before and after this PR. Please check if we need these changes or not.