Ref return walletId after select wallet

This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-16 21:42:44 -03:00
commit a013151791
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
5 changed files with 17 additions and 20 deletions

View file

@ -13,12 +13,7 @@ angular.module('copayApp.controllers').controller('walletsController', function(
return;
}
var obj = {
'walletId': walletId,
'walletName': walletName,
'client': profileService.getClient(walletId)
}
$scope.$emit('walletSelected', obj);
$scope.$emit('walletSelected', walletId);
});
};