Clean UI. Adds amount parser for coinbaseService
This commit is contained in:
parent
89639a8d48
commit
8d1d59cb3b
9 changed files with 85 additions and 46 deletions
|
|
@ -358,10 +358,9 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
glideraAccessToken: $scope.glideraAccessToken
|
||||
});
|
||||
} else if ($scope.nextStep) {
|
||||
var amountAlternative = $scope.showAlternativeAmount ? _amount : $filter('formatFiatAmount')(toFiat(_amount));
|
||||
$state.transitionTo($scope.nextStep, {
|
||||
amount: amountAlternative,
|
||||
currency: $scope.alternativeIsoCode
|
||||
amount: _amount,
|
||||
currency: $scope.showAlternativeAmount ? $scope.alternativeIsoCode : ''
|
||||
});
|
||||
} else {
|
||||
var amount = $scope.showAlternativeAmount ? fromFiat(_amount) : _amount;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue