covid19india/covid19india-react

Do not render Unknown for district view in the table

DantrazTrev opened this issue · 1 comments

Describe the bug
When switched to the district view the data viewed also contains an Unknown [ State Name ] which more or less has the entire state data
Screenshot_20210519-013721_Chrome.jpg

To Reproduce
Steps to reproduce the behavior:

  1. Go to the table view
  2. Switch to district
  3. See the Unknown [State Name]
  4. It is the same data as the State

Expected behavior
The district should only contain districts rather than the states masking as districts .

Smartphone (please complete the following information):

  • Device: Galaxy M21
  • OS: Android 10
  • Browser Chrome

It is there because states like Telangana,Assam,Manipur,Goa,Sikkim,Delhi,Andaman and Nicobar do not provide district wise data. If they start displaying data this will go away