1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/selectors
Whymarrh Whitby 3244449ab9
Use activeTab.origin where possible (#8617)
This changeset updates the `getOriginOfCurrentTab` selector and the container
for the ConnectedSites page to use `activeTab.origin` instead of parsing the
URL. The `activeTab` URL is parsed in `queryCurrentActiveTab` before the UI is
launched and any subsequent parsing of the URL is unnecessary.

See `queryCurrentActiveTab` in `ui.js:86` [1].

  [1]:e7bb0876f5/app/scripts/ui.js (L86-L118)
2020-05-18 20:04:51 -02:30
..
tests Connected accounts secondary sort order (#8608) 2020-05-18 13:31:11 -03:00
confirm-transaction.js Consolidate and dedupe send selectors (#8506) 2020-05-04 12:06:28 -07:00
custom-gas.js Reorganize selectors directory (#8497) 2020-05-02 12:41:17 -07:00
first-time-flow.js Consolidate send, onboarding selectors (#8501) 2020-05-04 08:22:34 -07:00
index.js Consolidate and dedupe send selectors (#8506) 2020-05-04 12:06:28 -07:00
permissions.js Connected accounts secondary sort order (#8608) 2020-05-18 13:31:11 -03:00
selectors.js Use activeTab.origin where possible (#8617) 2020-05-18 20:04:51 -02:30
send.js Delete recent blocks controller (#8575) 2020-05-12 12:40:33 -07:00
tokens.js Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
transactions.js Reorganize selectors directory (#8497) 2020-05-02 12:41:17 -07:00