diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-21 09:10:06 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-21 09:10:06 +0800 |
commit | e550d360842074a59832e41ce211fae7f38085cc (patch) | |
tree | aaf32308ee991408984e796cb123a9c16014fffc /ui | |
parent | 7d02c90510f119959ea04e374863ddfe13cc288b (diff) | |
download | tangerine-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.js | 14 |
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 }) |