diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-08-07 13:39:54 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-08-24 07:45:27 +0800 |
commit | 9adf0c4b60c863a820af7b20ff66a8b29f7bdbe7 (patch) | |
tree | 37166e258a95f82f8ff592c30cd9cc07ca5b44a7 /ui/app/selectors/transactions.js | |
parent | c9ec5ed38d0e2475778ca6eb18d29b3389f67190 (diff) | |
download | tangerine-wallet-browser-9adf0c4b60c863a820af7b20ff66a8b29f7bdbe7.tar tangerine-wallet-browser-9adf0c4b60c863a820af7b20ff66a8b29f7bdbe7.tar.gz tangerine-wallet-browser-9adf0c4b60c863a820af7b20ff66a8b29f7bdbe7.tar.bz2 tangerine-wallet-browser-9adf0c4b60c863a820af7b20ff66a8b29f7bdbe7.tar.lz tangerine-wallet-browser-9adf0c4b60c863a820af7b20ff66a8b29f7bdbe7.tar.xz tangerine-wallet-browser-9adf0c4b60c863a820af7b20ff66a8b29f7bdbe7.tar.zst tangerine-wallet-browser-9adf0c4b60c863a820af7b20ff66a8b29f7bdbe7.zip |
Fix integration tests
Diffstat (limited to 'ui/app/selectors/transactions.js')
-rw-r--r-- | ui/app/selectors/transactions.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/app/selectors/transactions.js b/ui/app/selectors/transactions.js index 6fedf36be..3e9843722 100644 --- a/ui/app/selectors/transactions.js +++ b/ui/app/selectors/transactions.js @@ -43,6 +43,13 @@ export const pendingTransactionsSelector = createSelector( ) ) +export const submittedPendingTransactionsSelector = createSelector( + transactionsSelector, + (transactions = []) => ( + transactions.filter(transaction => transaction.status === SUBMITTED_STATUS) + ) +) + export const completedTransactionsSelector = createSelector( transactionsSelector, (transactions = []) => ( |