Equibit / wallet-ui

0 stars 1 forks source link

Fixed modal closing bug #1160

Closed Eternali closed 6 years ago

Eternali commented 6 years ago

Fixed modal closing bug by essentially using a copied version of offer in confirm. This works because as soon as an offer's status changes, it is moved to the proper tab and the list available to the current tab is now empty, resulting in the "save called on null" error. Also added feature that the offer page tab will automatically switch to 'ARCHIVE' to follow the displayed offer (now that it's cancelled).

Also, should I be adding a (e2e or unit) test to check cancelling the last offer works?