Fix export qr-code for old wallets
This commit is contained in:
parent
36b2d28048
commit
9f86882b00
1 changed files with 4 additions and 1 deletions
|
|
@ -49,7 +49,10 @@ angular.module('copayApp.controllers').controller('exportController',
|
||||||
}
|
}
|
||||||
|
|
||||||
walletService.getEncodedWalletInfo(wallet, password, function(err, code) {
|
walletService.getEncodedWalletInfo(wallet, password, function(err, code) {
|
||||||
if (err) return cb(err);
|
if (err) {
|
||||||
|
popupService.showAlert(gettextCatalog.getString('Error'), err);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!code)
|
if (!code)
|
||||||
$scope.formData.supported = false;
|
$scope.formData.supported = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue