mirror of https://github.com/BTCPrivate/copay.git
Go to the actual wallet
This commit is contained in:
parent
d13600a4f5
commit
bef1113fc3
|
@ -2,7 +2,7 @@
|
|||
|
||||
var bitcore = require('bitcore');
|
||||
|
||||
angular.module('copayApp.controllers').controller('PaymentIntentController', function($rootScope, $scope, $modal, controllerUtils) {
|
||||
angular.module('copayApp.controllers').controller('PaymentIntentController', function($rootScope, $scope, $modal, $location, controllerUtils) {
|
||||
|
||||
$scope.wallets = [];
|
||||
|
||||
|
@ -44,7 +44,7 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun
|
|||
|
||||
$scope.cancel = function() {
|
||||
$rootScope.pendingPayment = null;
|
||||
controllerUtils.setFocusedWallet($scope.wallets[0]);
|
||||
$location.path('/');
|
||||
$modalInstance.close();
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue