diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-08 02:46:05 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-08 02:46:05 +0800 |
commit | 272ade0f66e9513ceb242a3a14d52cb8bcb7b38e (patch) | |
tree | e095c29d0f3009fb3a060b48954e18b1ad798a08 /ui | |
parent | ca69fa5d910351e1c813a431df9603b34cb7a901 (diff) | |
download | tangerine-wallet-browser-272ade0f66e9513ceb242a3a14d52cb8bcb7b38e.tar tangerine-wallet-browser-272ade0f66e9513ceb242a3a14d52cb8bcb7b38e.tar.gz tangerine-wallet-browser-272ade0f66e9513ceb242a3a14d52cb8bcb7b38e.tar.bz2 tangerine-wallet-browser-272ade0f66e9513ceb242a3a14d52cb8bcb7b38e.tar.lz tangerine-wallet-browser-272ade0f66e9513ceb242a3a14d52cb8bcb7b38e.tar.xz tangerine-wallet-browser-272ade0f66e9513ceb242a3a14d52cb8bcb7b38e.tar.zst tangerine-wallet-browser-272ade0f66e9513ceb242a3a14d52cb8bcb7b38e.zip |
Fix .filter token tx
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/selectors.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/selectors.js b/ui/app/selectors.js index d8764b488..9a8bf5c7e 100644 --- a/ui/app/selectors.js +++ b/ui/app/selectors.js @@ -51,9 +51,10 @@ function transactionsSelector (state) { const transactions = state.metamask.selectedAddressTxList || [] const txsToRender = !shapeShiftTxList ? transactions.concat(unapprovedMsgs) : transactions.concat(unapprovedMsgs, shapeShiftTxList) + console.log({txsToRender, selectedTokenAddress}) return selectedTokenAddress ? txsToRender - .filter(({ to }) => to === selectedTokenAddress) + .filter(({ txParams: { to } }) => to === selectedTokenAddress) .sort((a, b) => b.time - a.time) : txsToRender .sort((a, b) => b.time - a.time) |