aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/account-detail.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-08-24 05:51:09 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-08-24 05:51:09 +0800
commit4bceda37a8dfa414d4e5ff2b315b9968120d0d37 (patch)
tree4ed708d8f1db35b5373389b7c005ff2b9bfc4807 /ui/app/account-detail.js
parent00e8db31cebaf7af42660e828cc912b2b6af5b5d (diff)
parent9dad3a5917308cb6d9ee56aa183298b8eaad1c5f (diff)
downloadtangerine-wallet-browser-4bceda37a8dfa414d4e5ff2b315b9968120d0d37.tar
tangerine-wallet-browser-4bceda37a8dfa414d4e5ff2b315b9968120d0d37.tar.gz
tangerine-wallet-browser-4bceda37a8dfa414d4e5ff2b315b9968120d0d37.tar.bz2
tangerine-wallet-browser-4bceda37a8dfa414d4e5ff2b315b9968120d0d37.tar.lz
tangerine-wallet-browser-4bceda37a8dfa414d4e5ff2b315b9968120d0d37.tar.xz
tangerine-wallet-browser-4bceda37a8dfa414d4e5ff2b315b9968120d0d37.tar.zst
tangerine-wallet-browser-4bceda37a8dfa414d4e5ff2b315b9968120d0d37.zip
Merge branch 'master' into fox-sub
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r--ui/app/account-detail.js13
1 files changed, 9 insertions, 4 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js
index 836f4bcb9..486a1a633 100644
--- a/ui/app/account-detail.js
+++ b/ui/app/account-detail.js
@@ -4,6 +4,7 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const connect = require('react-redux').connect
const CopyButton = require('./components/copyButton')
+const AccountInfoLink = require('./components/account-info-link')
const actions = require('./actions')
const ReactCSSTransitionGroup = require('react-addons-css-transition-group')
const valuesFor = require('./util').valuesFor
@@ -44,6 +45,7 @@ AccountDetailScreen.prototype.render = function () {
var selected = props.address || Object.keys(props.accounts)[0]
var identity = props.identities[selected]
var account = props.accounts[selected]
+ const { network } = props
return (
@@ -127,6 +129,9 @@ AccountDetailScreen.prototype.render = function () {
bottom: '15px',
},
}, [
+
+ h(AccountInfoLink, { selected, network }),
+
h(CopyButton, {
value: ethUtil.toChecksumAddress(selected),
}),
@@ -136,16 +141,15 @@ AccountDetailScreen.prototype.render = function () {
}, [
h('div', {
style: {
- margin: '5px',
+ display: 'flex',
+ alignItems: 'center',
},
}, [
h('img.cursor-pointer.color-orange', {
src: 'images/key-32.png',
onClick: () => this.requestAccountExport(selected),
style: {
- margin: '0px 5px',
- width: '20px',
- height: '20px',
+ height: '19px',
},
}),
]),
@@ -244,6 +248,7 @@ AccountDetailScreen.prototype.transactionList = function () {
network,
unconfTxs,
unconfMsgs,
+ address,
shapeShiftTxList,
viewPendingTx: (txId) => {
this.props.dispatch(actions.viewPendingTx(txId))