From f92189a7219875cfec142e41eb40dcbb8f649d25 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 5 May 2016 12:14:51 -0700 Subject: Restored back button to account detail view. The `Change Acct` button was confusing multiple users, reverted that bit. --- ui/app/account-detail.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ui') diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index c93eef4fd..0c1b5c72e 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -47,6 +47,11 @@ AccountDetailScreen.prototype.render = function() { // subtitle and nav h('.section-title.flex-row.flex-center', [ + h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', { + onClick: (event) => { + state.dispatch(actions.goHome()) + } + }), h('h2.page-subtitle', 'Account Detail'), ]), @@ -63,10 +68,6 @@ AccountDetailScreen.prototype.render = function() { } }, [ - h('button', { - onClick: this.navigateToAccounts.bind(this), - }, 'CHANGE ACCT'), - h('button', { onClick: () => { copyToClipboard(identity.address) -- cgit v1.2.3 From 64b635fc76af108d1e78a31447dc19610c0e8c3e Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 5 May 2016 12:23:54 -0700 Subject: Fix account navigation link --- ui/app/account-detail.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ui') diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index 0c1b5c72e..10c33c2bc 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -48,9 +48,7 @@ AccountDetailScreen.prototype.render = function() { // subtitle and nav h('.section-title.flex-row.flex-center', [ h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', { - onClick: (event) => { - state.dispatch(actions.goHome()) - } + onClick: this.navigateToAccounts.bind(this), }), h('h2.page-subtitle', 'Account Detail'), ]), -- cgit v1.2.3