aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/account-detail.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-04-20 09:21:28 +0800
committerDan Finlay <dan@danfinlay.com>2016-04-20 09:21:28 +0800
commitf79601ee58a07ec6275d4588845578795f550d84 (patch)
tree5ce3e35ec1cb6b97ae94c2de1d80bd39dbe3fa42 /ui/app/account-detail.js
parentb8c57433ce0f6a50318671912b02082e12a0ecb0 (diff)
downloadtangerine-wallet-browser-f79601ee58a07ec6275d4588845578795f550d84.tar.gz
tangerine-wallet-browser-f79601ee58a07ec6275d4588845578795f550d84.tar.zst
tangerine-wallet-browser-f79601ee58a07ec6275d4588845578795f550d84.zip
Generate explorer link to match current blockchain
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r--ui/app/account-detail.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js
index 871c0e66c..025644efe 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