mirror of https://github.com/BTCPrivate/copay.git
Check if have rates
This commit is contained in:
parent
dafd46c3a2
commit
f7f5ca3351
|
@ -857,6 +857,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
$log.warn(err);
|
$log.warn(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (lodash.isEmpty(res)) return;
|
||||||
if (unitName == 'bits') {
|
if (unitName == 'bits') {
|
||||||
$scope.exchangeRate = '1,000,000 bits ~ ' + res.rate + ' ' + alternativeIsoCode;
|
$scope.exchangeRate = '1,000,000 bits ~ ' + res.rate + ' ' + alternativeIsoCode;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue