Check if have rates

This commit is contained in:
Gustavo Maximiliano Cortez 2017-01-10 13:42:46 -03:00
parent dafd46c3a2
commit f7f5ca3351
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
1 changed files with 1 additions and 0 deletions

View File

@ -857,6 +857,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
$log.warn(err);
return;
}
if (lodash.isEmpty(res)) return;
if (unitName == 'bits') {
$scope.exchangeRate = '1,000,000 bits ~ ' + res.rate + ' ' + alternativeIsoCode;
} else {