aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-21 09:10:06 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-21 09:10:06 +0800
commite550d360842074a59832e41ce211fae7f38085cc (patch)
treeaaf32308ee991408984e796cb123a9c16014fffc /ui
parent7d02c90510f119959ea04e374863ddfe13cc288b (diff)
downloadtangerine-wallet-browser-e550d360842074a59832e41ce211fae7f38085cc.tar
tangerine-wallet-browser-e550d360842074a59832e41ce211fae7f38085cc.tar.gz
tangerine-wallet-browser-e550d360842074a59832e41ce211fae7f38085cc.tar.bz2
tangerine-wallet-browser-e550d360842074a59832e41ce211fae7f38085cc.tar.lz
tangerine-wallet-browser-e550d360842074a59832e41ce211fae7f38085cc.tar.xz
tangerine-wallet-browser-e550d360842074a59832e41ce211fae7f38085cc.tar.zst
tangerine-wallet-browser-e550d360842074a59832e41ce211fae7f38085cc.zip
Add 'Account Details' dropdown menu item to account options dropdown
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/dropdowns/components/account-dropdowns.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/ui/app/components/dropdowns/components/account-dropdowns.js b/ui/app/components/dropdowns/components/account-dropdowns.js
index aaeb5d9bf..6af90655b 100644
--- a/ui/app/components/dropdowns/components/account-dropdowns.js
+++ b/ui/app/components/dropdowns/components/account-dropdowns.js
@@ -189,6 +189,20 @@ class AccountDropdowns extends Component {
{
closeMenu: () => {},
onClick: () => {
+ this.props.showAccountDetail()
+ },
+ style: Object.assign(
+ {},
+ menuItemStyles,
+ ),
+ },
+ 'Account Details',
+ ),
+ h(
+ DropdownMenuItem,
+ {
+ closeMenu: () => {},
+ onClick: () => {
const { selected, network } = this.props
const url = genAccountLink(selected, network)
global.platform.openWindow({ url })