Fix export qr-code for old wallets

This commit is contained in:
Gustavo Maximiliano Cortez 2017-03-15 10:10:05 -03:00
commit 9f86882b00
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -49,7 +49,10 @@ angular.module('copayApp.controllers').controller('exportController',
}
walletService.getEncodedWalletInfo(wallet, password, function(err, code) {
if (err) return cb(err);
if (err) {
popupService.showAlert(gettextCatalog.getString('Error'), err);
return;
}
if (!code)
$scope.formData.supported = false;