diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-04-20 09:21:28 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-04-20 09:21:28 +0800 |
commit | f79601ee58a07ec6275d4588845578795f550d84 (patch) | |
tree | 5ce3e35ec1cb6b97ae94c2de1d80bd39dbe3fa42 /ui/app/account-detail.js | |
parent | b8c57433ce0f6a50318671912b02082e12a0ecb0 (diff) | |
download | dexon-wallet-f79601ee58a07ec6275d4588845578795f550d84.tar.gz dexon-wallet-f79601ee58a07ec6275d4588845578795f550d84.tar.zst dexon-wallet-f79601ee58a07ec6275d4588845578795f550d84.zip |
Generate explorer link to match current blockchain
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r-- | ui/app/account-detail.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index 871c0e66..025644ef 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -17,6 +17,7 @@ function mapStateToProps(state) { address: state.appState.currentView.context, accountDetail: accountDetail, transactions: state.metamask.transactions, + networkVersion: state.networkVersion, } } @@ -74,7 +75,9 @@ AccountDetailScreen.prototype.render = function() { ]), ]), - transactionList(transactions), + transactionList(transactions + .filter(tx => tx.txParams.from === state.address) + .sort((a, b) => b.time - a.time), state.networkVersion), this.exportedAccount(accountDetail), // transaction table |