Natixar / natixar-frontend

The static front end of the Natixar SaaS platform
0 stars 5 forks source link

On NatixarExpandableBar, the Per-scope Totals do not Appear Except on BEGES #59

Closed lepeuvedic closed 1 month ago

lepeuvedic commented 1 month ago

Problem

When the taxonomy chosen is anything else than BEGES, the totals shown on the are not shown. No Scope Totals GHG Protocol

Steps to Reproduce

  1. Authenticate and enter the Dashboard
  2. Select GHG Protocol with the "BEGES" button (taxonomy selector)
  3. Observe in Scope1 that there is no total shown anymore, where the total was when the selected taxonomy was BEGES.
  4. Select BEGES again
  5. Observe in Scope1 NatixarExpandableBar that the total is now equal to the donut total at 179.9ktCOeq

Desired Behavior

The totals in the widgets are correctly displayed and computed, even when they are zéro, even when the selected taxonomy is not BEGES.

astowny commented 1 month ago

Fixed by @lnrreact , and on an other branch