Commit Graph

3 Commits

Author SHA1 Message Date
Thibaut Sardan
791226a2c2 convert and fix alphabetical order on the fly (#1186) 2019-05-22 14:56:42 +02:00
Thibaut Sardan
6649c167ac
Group unlocking by era (#1138)
* group unlocking by era

* use reduce

* better names and optimization

* lint

* interpolation

* use an object instead of Map

* empty line before result

* lint.. we'll get there

* address comments
2019-05-11 19:33:43 +02:00
Thibaut Sardan
4d39523daf Allow to withdrawUnbonded + additional info (#1070)
* skeleton for Available and Unlocking

* available (with bug) and unlocking balance

* implement available according to the rust code

* lint

* unlock modal components

* use tx button directly instead of useless modal withdrawUnbonded

* use BN and move max to util

* Sum unlockables

* show unlockableSum and refactor

* add unlockable button

* lint

* smaller padding around unlock button

* cleanup and address comment

* use labels directly instead of passing in props

* function ordering and make private

* fixme for vesting, function ordering

* css in components

* lint
2019-05-08 11:06:54 +02:00