DigixGlobal / governance-ui-components

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

[Fix] - Additional condition for showing `Vote` button #336

Closed rbanate closed 5 years ago

rbanate commented 5 years ago

This fixes an issue where the Vote button is showing before the allowed voting schedule.

Fix by adding a condition to show Vote button only if currentTime > startTime & currentTime < commitDeadline

mikej-digix commented 5 years ago

iteration: 1 status: PASSED environment: local (with prod data)

Test Condition:

image