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);
|
||||
return;
|
||||
}
|
||||
if (lodash.isEmpty(res)) return;
|
||||
if (unitName == 'bits') {
|
||||
$scope.exchangeRate = '1,000,000 bits ~ ' + res.rate + ' ' + alternativeIsoCode;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue