diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-02-09 13:46:19 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-02-09 13:46:19 +0800 |
commit | ef0bbb291d3eb6a72e8277179e020b7decbec70f (patch) | |
tree | 207553e3efc50a413f7cf662d851f61f4881d686 /ui | |
parent | 2240688fd400504657a4dbe62d55ab2c7398c599 (diff) | |
parent | 7f70943fa2020fcc4fb9bdd0a0b22dd8d8c0718a (diff) | |
download | tangerine-wallet-browser-ef0bbb291d3eb6a72e8277179e020b7decbec70f.tar tangerine-wallet-browser-ef0bbb291d3eb6a72e8277179e020b7decbec70f.tar.gz tangerine-wallet-browser-ef0bbb291d3eb6a72e8277179e020b7decbec70f.tar.bz2 tangerine-wallet-browser-ef0bbb291d3eb6a72e8277179e020b7decbec70f.tar.lz tangerine-wallet-browser-ef0bbb291d3eb6a72e8277179e020b7decbec70f.tar.xz tangerine-wallet-browser-ef0bbb291d3eb6a72e8277179e020b7decbec70f.tar.zst tangerine-wallet-browser-ef0bbb291d3eb6a72e8277179e020b7decbec70f.zip |
Merge branch 'uat-next' of https://github.com/MetaMask/metamask-extension into cb-254
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/selectors.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/selectors.js b/ui/app/selectors.js index 38a96c48b..5d2635775 100644 --- a/ui/app/selectors.js +++ b/ui/app/selectors.js @@ -116,7 +116,7 @@ function transactionsSelector (state) { // console.log({txsToRender, selectedTokenAddress}) return selectedTokenAddress ? txsToRender - .filter(({ txParams: { to } }) => to === selectedTokenAddress) + .filter(({ txParams }) => txParams && txParams.to === selectedTokenAddress) .sort((a, b) => b.time - a.time) : txsToRender .sort((a, b) => b.time - a.time) @@ -179,11 +179,11 @@ function autoAddToBetaUI (state) { (numberOfAccounts > autoAddAccountsThreshold) && (numberOfTokensAdded > autoAddTokensThreshold) const userIsNotInBeta = !state.metamask.featureFlags.betaUI - + return userIsNotInBeta && userPassesThreshold } function getCurrentViewContext (state) { const { currentView = {} } = state.appState - return currentView.context + return currentView.context }
\ No newline at end of file |