fix receive wallet scope
This commit is contained in:
parent
d7fd3035ce
commit
fee7034863
3 changed files with 9 additions and 2 deletions
|
|
@ -43,8 +43,11 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
|||
};
|
||||
|
||||
$scope.$on('Wallet/Changed', function(event, wallet) {
|
||||
if (!wallet) {
|
||||
$log.debug('No wallet provided');
|
||||
return;
|
||||
}
|
||||
$log.debug('Wallet changed: ' + wallet.name);
|
||||
$scope.defaultWallet = wallet;
|
||||
$scope.setAddress(wallet);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue