aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-25 15:34:12 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-25 15:34:12 +0800
commit8d3a317b91fd440e2e405df780cb0f88e4683547 (patch)
tree3305ed032004964e5f08a80d3aa70af71597bc77 /ui/app/app.js
parent7c10cda8a4f8423a95f4c64024b07572d76dc266 (diff)
downloadtangerine-wallet-browser-8d3a317b91fd440e2e405df780cb0f88e4683547.tar.gz
tangerine-wallet-browser-8d3a317b91fd440e2e405df780cb0f88e4683547.tar.zst
tangerine-wallet-browser-8d3a317b91fd440e2e405df780cb0f88e4683547.zip
Show home page when metafox is clicked
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 7cf5c7b9d..31d11b4e0 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -253,12 +253,14 @@ App.prototype.renderAppBar = function () {
}, [
h('div.app-header-contents', {}, [
h('div.left-menu-wrapper', {
- style: {},
+ onClick: () => {
+ props.dispatch(actions.backToAccountDetail(props.activeAddress))
+ },
}, [
// mini logo
- h('img', {
- height: 24,
- width: 24,
+ h('img.metafox-icon', {
+ height: 29,
+ width: 29,
src: '/images/icon-128.png',
}),