Merge pull request #2101 from matiu/bug/selectwallets

Bug/selectwallets
This commit is contained in:
Gustavo Maximiliano Cortez 2014-12-10 20:43:51 -03:00
commit a1f95a4cbf
7 changed files with 97 additions and 119 deletions

View file

@ -65,7 +65,11 @@ angular.module('copayApp.services').factory('go', function($window, $rootScope,
root.path('copayers');
} else {
if ($rootScope.pendingPayment) {
root.path('selectWalletForPayment');
if ($rootScope.walletForPaymentSet) {
root.path('send');
} else {
root.path('selectWalletForPayment');
}
} else {
root.path('homeWallet');
}