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