Fix payment intent
This commit is contained in:
parent
c2163f8c7a
commit
022de7d2b5
2 changed files with 4 additions and 4 deletions
|
|
@ -4,7 +4,7 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun
|
|||
|
||||
$scope.wallets = [];
|
||||
$rootScope.title = 'Payment intent';
|
||||
$scope.wallets = rootScope.iden.listWallets();
|
||||
$scope.wallets = $rootScope.iden.listAllWallets();
|
||||
|
||||
var l = $scope.wallet.length;
|
||||
_.each($scope.wallets, function(w, i) {
|
||||
|
|
@ -39,8 +39,8 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun
|
|||
|
||||
$scope.cancel = function() {
|
||||
$rootScope.pendingPayment = null;
|
||||
$location.path('/');
|
||||
$modalInstance.close();
|
||||
$location.path('/homeWallet');
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue