Fix buying gift card when no wallet found
This commit is contained in:
parent
ee0bec9b06
commit
90230d6424
1 changed files with 2 additions and 0 deletions
|
|
@ -252,6 +252,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
network: 'livenet',
|
||||
})[0].id;
|
||||
} catch(err) {
|
||||
ongoingProcess.set('Preparing transaction...', false);
|
||||
popupService.showAlert(gettextCatalog.getString('Error'), gettextCatalog.getString('No wallet found!'));
|
||||
return;
|
||||
};
|
||||
|
|
@ -271,6 +272,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
|
||||
amazonService.getBitPayInvoice(dataInvoice.invoiceId, function(err, invoice) {
|
||||
if (err) {
|
||||
ongoingProcess.set('Preparing transaction...', false);
|
||||
popupService.showAlert(gettextCatalog.getString('Error'), bwcError.msg(err));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue