1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00
metamask-extension/ui/app/pages
Mark Stacey f0f5554846
Fix selectors that use metamask.send.from state (#8182)
The `metamask.send.from` field was assumed by various selectors to be
an object, but instead it was recently set to a string. The selectors
have been updated to assume it's a string, and to fetch the full
account object explicitly.

The selector `getSendFromObject` was repurposed for this, as that's
basically what it already did. The optional address parameter was
removed though, as that was only used to fetch the `from` address in
cases where the `send` state was set without there being a `from`
address set. That case is no longer possible, as the `from` address is
always set upon the initialization of the `send` state.

The `getSendFromObject` selector no longer fetches the 'name' of that
address from the address book state either. This property was not used
in either of the cases this selector was used.
2020-03-11 15:40:35 -03:00
..
add-token Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
confirm-add-suggested-token Remove faux <header> elements (#8131) 2020-02-27 18:00:20 -04:00
confirm-add-token Remove faux <header> elements (#8131) 2020-02-27 18:00:20 -04:00
confirm-approve LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-decrypt-message LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-deploy-contract Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
confirm-encryption-public-key LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-send-ether LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-send-token LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-token-transaction-base LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-transaction LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-transaction-base Remove recompose (#8097) 2020-02-24 19:28:26 -03:30
confirm-transaction-switch Implementation encrypt/decrypt feature (#7831) 2020-02-19 14:24:16 -04:00
connected-sites Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
create-account Remove recompose (#8097) 2020-02-24 19:28:26 -03:30
error Add top-level error page (#7889) 2020-01-24 17:11:02 -04:00
first-time-flow Translation helper: substitute react components and component wrapping substrings (#8129) 2020-03-11 12:30:05 -02:30
home Consolidate Home UI (#8141) 2020-02-28 17:46:01 -04:00
keychains Remove faux <header> elements (#8131) 2020-02-27 18:00:20 -04:00
lock Remove recompose (#8097) 2020-02-24 19:28:26 -03:30
mobile-sync Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
permissions-connect Change permissions connect screen to use browser routing (#8072) 2020-02-27 11:20:05 -04:00
routes LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
send Fix selectors that use metamask.send.from state (#8182) 2020-03-11 15:40:35 -03:00
settings Use consistent variable name for classnames import (#8143) 2020-03-01 06:14:16 -04:00
unlock-page Remove recompose (#8097) 2020-02-24 19:28:26 -03:30
index.js Add top-level error page (#7889) 2020-01-24 17:11:02 -04:00
index.scss Extract style for Home component into separate module (#8139) 2020-02-28 16:27:22 -04:00