refactor iden #create
This commit is contained in:
parent
d84808f0c7
commit
606ea0668c
10 changed files with 72 additions and 54 deletions
|
|
@ -1,12 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('HomeController', function($scope, $rootScope, $location, identity, notification, controllerUtils) {
|
||||
angular.module('copayApp.controllers').controller('HomeController', function($scope, $rootScope, $location, notification, controllerUtils) {
|
||||
|
||||
controllerUtils.redirIfLogged();
|
||||
|
||||
$scope.retreiving = true;
|
||||
identity.getWallets(function(err,ret) {
|
||||
$scope.retreiving = false;
|
||||
$scope.hasWallets = (ret && ret.length > 0) ? true : false;
|
||||
});
|
||||
//$scope.retreiving = true;
|
||||
// identity.getWallets(function(err,ret) {
|
||||
// $scope.retreiving = false;
|
||||
// $scope.hasWallets = (ret && ret.length > 0) ? true : false;
|
||||
// });
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue