diff options
author | kumavis <kumavis@users.noreply.github.com> | 2017-05-16 14:25:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-16 14:25:20 +0800 |
commit | 9560de80a0576cfd775f247c51ebac6a709f4864 (patch) | |
tree | e7769d67e754bf3e630a31b87ee9abc06df6da21 /ui/app/account-detail.js | |
parent | 687dfc87bdfbdbde58a247a6ae8ab49b2a324da8 (diff) | |
parent | e28e0acaa8fb690a7fe5ac45597837f20d2079e1 (diff) | |
download | tangerine-wallet-browser-9560de80a0576cfd775f247c51ebac6a709f4864.tar tangerine-wallet-browser-9560de80a0576cfd775f247c51ebac6a709f4864.tar.gz tangerine-wallet-browser-9560de80a0576cfd775f247c51ebac6a709f4864.tar.bz2 tangerine-wallet-browser-9560de80a0576cfd775f247c51ebac6a709f4864.tar.lz tangerine-wallet-browser-9560de80a0576cfd775f247c51ebac6a709f4864.tar.xz tangerine-wallet-browser-9560de80a0576cfd775f247c51ebac6a709f4864.tar.zst tangerine-wallet-browser-9560de80a0576cfd775f247c51ebac6a709f4864.zip |
Merge pull request #1430 from MetaMask/i1407-FixNonEditingTxForm
Add test around conf-tx view's gas editing.
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r-- | ui/app/account-detail.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index d592a5ad6..7cadb9d47 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -29,6 +29,7 @@ function mapStateToProps (state) { unapprovedMsgs: valuesFor(state.metamask.unapprovedMsgs), shapeShiftTxList: state.metamask.shapeShiftTxList, transactions: state.metamask.selectedAddressTxList || [], + conversionRate: state.metamask.conversionRate, } } @@ -43,7 +44,7 @@ AccountDetailScreen.prototype.render = function () { var checksumAddress = selected && ethUtil.toChecksumAddress(selected) var identity = props.identities[selected] var account = props.accounts[selected] - const { network } = props + const { network, conversionRate } = props return ( @@ -182,6 +183,7 @@ AccountDetailScreen.prototype.render = function () { h(EthBalance, { value: account && account.balance, + conversionRate, style: { lineHeight: '7px', marginTop: '10px', @@ -243,11 +245,13 @@ AccountDetailScreen.prototype.subview = function () { } AccountDetailScreen.prototype.transactionList = function () { - const {transactions, unapprovedMsgs, address, network, shapeShiftTxList } = this.props + const {transactions, unapprovedMsgs, address, + network, shapeShiftTxList, conversionRate } = this.props return h(TransactionList, { transactions: transactions.sort((a, b) => b.time - a.time), network, unapprovedMsgs, + conversionRate, address, shapeShiftTxList, viewPendingTx: (txId) => { |