Merge pull request #5201 from cmgustavo/bug/amazon-enable-shared-single-signature
Enable buy Amazon gift cards for shared wallet with single signature
This commit is contained in:
commit
878a512bc2
2 changed files with 7 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
$scope.wallets = profileService.getWallets({
|
$scope.wallets = profileService.getWallets({
|
||||||
onlyComplete: true,
|
onlyComplete: true,
|
||||||
network: $scope.network,
|
network: $scope.network,
|
||||||
n: $scope.isGiftCard ? true : false
|
m: $scope.isGiftCard ? 1 : null
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!$scope.wallets || !$scope.wallets.length) {
|
if (!$scope.wallets || !$scope.wallets.length) {
|
||||||
|
|
|
||||||
|
|
@ -765,6 +765,12 @@ angular.module('copayApp.services')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (opts.m) {
|
||||||
|
ret = lodash.filter(ret, function(w) {
|
||||||
|
return (w.credentials.m == opts.m);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (opts.onlyComplete) {
|
if (opts.onlyComplete) {
|
||||||
ret = lodash.filter(ret, function(w) {
|
ret = lodash.filter(ret, function(w) {
|
||||||
return w.isComplete();
|
return w.isComplete();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue