Skip to content

Bug: Hardcoding doesn't account for 0 deaths #65

@tandonsumi

Description

@tandonsumi

Describe the bug
The code doesn't account for zero deaths. The text reads - Sadly 0 patients have died.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://coronaclusters.in/uttar-pradesh/noida'
  2. Read text '17 people are so far affected in Noida, Uttar-pradesh by novel coronavirus covid-19. 0 out of 17 have recovered. Sadly, 0 patients have died due to coronavirus in Noida, Uttar-pradesh. 17 patients are still in hospital and recovering. '

Expected behavior
Just remove 'Sadly,'. Bo need to be sad on the number 0 deaths. Else plan for it. The good news is there are 0 deaths...

Screenshots
If applicable, add screenshots to help explain your problem.

Screenshot_2021-09-25-10-00-50-02

Desktop (please complete the following information):

  • Browser [e.g. chrome, safari]

Smartphone (please complete the following information):

  • Device: Real me

Additional context
Condition is there are 0 deaths and that's why the text doesn't match the text.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions