fix interfase and loggin

This commit is contained in:
Matias Alejo Garcia 2014-09-18 19:20:00 -03:00
commit 409cef4d4b
7 changed files with 32 additions and 21 deletions

View file

@ -5,8 +5,7 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc
controllerUtils.redirIfLogged();
$scope.retreiving = true;
walletFactory.getWallets(function(ret) {
walletFactory.getWallets(function(err,ret) {
$scope.retreiving = false;
$scope.hasWallets = (ret && ret.length > 0) ? true : false;
});