Add delete wallet from the intermediate screen (it was lost in migration to new design)

This commit is contained in:
Gustavo Maximiliano Cortez 2014-08-06 16:51:45 -03:00
commit e264aa66a2
4 changed files with 17 additions and 4 deletions

View file

@ -6,5 +6,5 @@ angular.module('copayApp.controllers').controller('HomeController',
if ($rootScope.pendingPayment) {
notification.info('Login Required', 'Please open wallet to complete payment');
}
$scope.hasWallets = walletFactory.getWallets().length > 0 ? true : false;
$scope.hasWallets = (walletFactory.getWallets() && walletFactory.getWallets().length > 0) ? true : false;
});