From f79601ee58a07ec6275d4588845578795f550d84 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 19 Apr 2016 18:21:28 -0700 Subject: Generate explorer link to match current blockchain --- ui/app/account-detail.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ui/app/account-detail.js') 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 -- cgit v1.2.3