From 988165224b41c1eb3fe1b639b5801204936000e1 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Fri, 29 Apr 2016 15:53:29 -0700 Subject: Fix outdated transitions Fixes #151 - Cancelling or completing a tx now goes back to account detail view. - Restoring a vault now does not select an unloaded account, shows account list. - Account list now never selects an item only uses the cells as buttons. --- ui/app/reducers/app.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ui/app/reducers/app.js') diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index 143a67527..57cdccbac 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -199,12 +199,11 @@ function reduceApp(state, action) { } else { return extend(appState, { transForward: false, + warning: null, currentView: { - name: 'accounts', - context: 0, + name: 'accountDetail', + context: appState.currentView.context, }, - transForward: false, - warning: null, }) } -- cgit v1.2.3