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 d9a27fcf52
Prevent showing connected accounts without origin (#8891)
There was a case where the `activeTab.origin` was not set, yet the user
could still navigate to the "Connected accounts" modal, which assumes
that `activeTab.origin` is set. This would happen in Firefox when the
user opened the popup on a page internal to Firefox (e.g.
`about:blank`). The connected status indicator would still be shown,
but the UI would crash when it was clicked.

The connected status indicator is now hidden whenever
`activeTab.origin` is falsy. The 'Unconnected account' alert has also
been made impossible to trigger in that circumstance.
2020-07-02 18:26:30 -03:00
..
components Prevent showing connected accounts without origin (#8891) 2020-07-02 18:26:30 -03:00
contexts Implement asset page (#8696) 2020-06-01 14:54:32 -03:00
css Align copy tooltip text and icon (#8861) 2020-06-24 15:34:18 -07:00
ducks Add envar for ETH Gas Station API key (#8870) 2020-06-29 14:56:21 -02:30
helpers Consolidate connected account alerts (#8802) 2020-06-15 12:08:53 -07: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 Fix account order on unconnected account alert (#8863) 2020-06-25 21:05:42 -03:00
store Prevent showing connected accounts without origin (#8891) 2020-07-02 18:26:30 -03:00