fix sidebar wallets selection
This commit is contained in:
parent
1cace8ac37
commit
e1fbc1202f
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
|||
$scope.setWallet = function(index) {
|
||||
$scope.wallet = $scope.wallets[index];
|
||||
$scope.walletIndex = index;
|
||||
if ($scope.walletAddrs[$scope.walletIndex].addr) $scope.addr = $scope.walletAddrs[$scope.walletIndex].addr;
|
||||
if ($scope.walletAddrs[$scope.wallet.id].addr) $scope.addr = $scope.walletAddrs[$scope.walletIndex].addr;
|
||||
else $scope.setAddress(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue