Skip to content

[Bug]: High is good toggling should reverse the define legend values #778

@nnkogift

Description

@nnkogift

Contact Details

gnnko@hisptanzania.org

What happened?

When the user toggles the value of the high is good value, the legends should reverse in order, the first legend should have the min and max of the last legend, and vice versa.

Steps to reproduce

  1. Go to edit an existing scorecard
  2. Open the data configuration page
  3. Select one of the data items to edit it
  4. Click on the 'High is good' checkbox
  5. Observe the legends not changing

App Version

3.0.0

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions