mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
d9a27fcf52
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. |
||
---|---|---|
.. | ||
app | ||
ui |