Equibit / wallet-ui

0 stars 1 forks source link

Orders page freezes when there is a partial order (sell/buy) #1110

Closed elliot-tio closed 6 years ago

elliot-tio commented 6 years ago

After creating a new partial order (sell/buy) and viewing details, the orders page freezes and produces this error:

length of undefined.png

EDIT: This was due to the amount being < 1, so the format function was attempting to round 0.0001 to 2 decimal places, which returns 0, causing the error