DigixGlobal / governance-ui-components

Governance UI reusable components library
Other
3 stars 2 forks source link

[HOTFIX] Add safety conditions for rendering Edit Funding Button #363

Closed mandres-digix closed 5 years ago

mandres-digix commented 5 years ago

Users are intermittently getting this error:

TypeError: Cannot read property 'finalReward' of undefined

The bug could be occurring in special proposals where the Edit Funding button encounters rendering problems because there's no proposalVersions field for special proposals. This diff adds the safety condition so the button renders without problems.

mikej-digix commented 5 years ago

iteration: 1 status: PASSED environment: LOCAL

Test Condition: