Merge pull request #1739 from isocolsky/balance
showing N/A when rate services not available
This commit is contained in:
commit
a73edca586
4 changed files with 12 additions and 8 deletions
|
|
@ -34,7 +34,7 @@ angular.module('copayApp.controllers').controller('MoreController',
|
|||
name: w.settings.alternativeName,
|
||||
isoCode: w.settings.alternativeIsoCode
|
||||
};
|
||||
$scope.alternativeOpts = rateService.isAvailable ?
|
||||
$scope.alternativeOpts = rateService.isAvailable() ?
|
||||
rateService.listAlternatives() : [$scope.selectedAlternative];
|
||||
|
||||
rateService.whenAvailable(function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue