Merge pull request #5636 from cmgustavo/bug/alternative-iso-code-01
Fix alternativeIsoCode
This commit is contained in:
commit
aeba1993f4
1 changed files with 2 additions and 0 deletions
|
|
@ -65,6 +65,8 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
$scope.unitName = config.unitName;
|
||||
if (data.stateParams.currency) {
|
||||
$scope.alternativeIsoCode = data.stateParams.currency;
|
||||
} else {
|
||||
$scope.alternativeIsoCode = config.alternativeIsoCode || 'USD';
|
||||
}
|
||||
$scope.specificAmount = $scope.specificAlternativeAmount = '';
|
||||
$scope.isCordova = platformInfo.isCordova;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue