1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app
Mark Stacey 4a989c339a
Fix activity log inline buttons (#8908)
The inline speedup and speedup cancellation buttons in the activity log
were broken. An exception would be thrown upon either button being
clicked, and nothing would happen from the user's perspective.

Both handlers were being passed a transaction id, which was a holdover
from before the transaction list redesign. The handlers passed for
these two actions now have the transaction id embedded, so it doesn't
need to be passed in anymore. They expect the click event to be passed
through instead.

The handlers passed also didn't handle closing the transaction details
modal when clicked. After fixing the first problem, they still didn't
work because the speedup/cancel dialog was shown behind the transaction
details modal.

Both issues are now fixed. Both buttons now close the transaction
details modal, and trigger the appropriate action.
2020-07-03 13:03:13 -03:00
..
components Fix activity log inline buttons (#8908) 2020-07-03 13:03:13 -03:00
contexts
css
ducks Add envar for ETH Gas Station API key (#8870) 2020-06-29 14:56:21 -02:30
helpers Tolerate missing or falsey substitutions (#8907) 2020-07-03 13:02:35 -03:00
hooks fix language code format mismatch (#8889) 2020-07-02 15:13:23 -05:00
pages Show origin in connect flow rather than site name (#8885) 2020-07-02 14:08:43 -03:00
selectors
store Include relative time polyfill locale data (#8896) 2020-07-02 21:34:48 -03:00